fix lint
parent
d2171be291
commit
744f76e3b6
|
@ -74,7 +74,7 @@ func TestDownloadOnly(t *testing.T) {
|
|||
if !NoneDriver() {
|
||||
if download.PreloadExists(v, r) {
|
||||
// Just make sure the tarball path exists
|
||||
if _, err := os.Stat(download.TarballPath(v)); err != nil {
|
||||
if _, err := os.Stat(download.TarballPath(v, r)); err != nil {
|
||||
t.Errorf("preloaded tarball path doesn't exist: %v", err)
|
||||
}
|
||||
return
|
||||
|
@ -154,6 +154,8 @@ func TestDownloadOnlyKic(t *testing.T) {
|
|||
ctx, cancel := context.WithTimeout(context.Background(), Minutes(15))
|
||||
defer Cleanup(t, profile, cancel)
|
||||
|
||||
cRuntime := "docker"
|
||||
|
||||
args := []string{"start", "--download-only", "-p", profile, "--force", "--alsologtostderr"}
|
||||
args = append(args, StartArgs()...)
|
||||
rr, err := Run(t, exec.CommandContext(ctx, Target(), args...))
|
||||
|
|
Loading…
Reference in New Issue