From 7d394fa5977f29a6640faa47605604f2dccc6d80 Mon Sep 17 00:00:00 2001 From: Thomas Stromberg Date: Mon, 24 Jun 2019 11:42:05 +0800 Subject: [PATCH] Add missing import and parens --- test/integration/version_upgrade_test.go | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/test/integration/version_upgrade_test.go b/test/integration/version_upgrade_test.go index 2be1d003c5..8b92f259cd 100644 --- a/test/integration/version_upgrade_test.go +++ b/test/integration/version_upgrade_test.go @@ -22,6 +22,7 @@ import ( "io/ioutil" "os" "runtime" + "strings" "testing" "github.com/docker/machine/libmachine/state" @@ -82,8 +83,8 @@ func TestVersionUpgrade(t *testing.T) { releaseRunner.RunCommand("stop", true) releaseRunner.CheckStatus(state.Stopped.String()) - // Trim the leading "v" prefix to assert that we handle it properly. - currentRunner.Start(fmt.Sprintf("--kubernetes-version=%s", strings.TrimPrefix(constants.NewestKubernetesVersion, "v")) + // Trim the leading "v" prefix to assert that we handle it properly. + currentRunner.Start(fmt.Sprintf("--kubernetes-version=%s", strings.TrimPrefix(constants.NewestKubernetesVersion, "v"))) currentRunner.CheckStatus(state.Running.String()) currentRunner.RunCommand("delete", true) currentRunner.CheckStatus(state.None.String())