提交 64201731 编写于 作者: I Ilya Zuyev

Run goimports

上级 588cb801
......@@ -58,7 +58,6 @@ var distros = []string{
var timeout = Minutes(10)
// TestPackageInstall tests installation of .deb packages with minikube itself and with kvm2 driver
// on debian/ubuntu docker images enumerated in "distros"
func TestDebPackageInstall(t *testing.T) {
......@@ -106,7 +105,6 @@ func TestDebPackageInstall(t *testing.T) {
}
}
func dpkgInstall(ctx context.Context, t *testing.T, image, deb string) (*RunResult, error) {
return Run(t, exec.CommandContext(ctx,
"docker", "run", "--rm", fmt.Sprintf("-v%s:/var/tmp", filepath.Dir(deb)),
......@@ -114,7 +112,6 @@ func dpkgInstall(ctx context.Context, t *testing.T, image, deb string) (*RunResu
"sh", "-c", fmt.Sprintf("apt-get update; dpkg -i /var/tmp/%s", filepath.Base(deb))))
}
func dpkgInstallDriver(ctx context.Context, t *testing.T, image, deb string) (*RunResult, error) {
return Run(t, exec.CommandContext(ctx,
"docker", "run", "--rm", fmt.Sprintf("-v%s:/var/tmp", filepath.Dir(deb)),
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册