Fix linter

Signed-off-by: Guillaume Tardif <guillaume.tardif@docker.com>
This commit is contained in:
Guillaume Tardif 2020-08-21 18:52:07 +02:00
parent 7204692e3a
commit 2bac8cf94e
5 changed files with 23 additions and 26 deletions

View file

@ -53,7 +53,7 @@ func init() {
type E2eCLI struct {
BinDir string
ConfigDir string
test *testing.T
test *testing.T
}
// NewParallelE2eCLI returns a configured TestE2eCLI with t.Parallel() set
@ -163,7 +163,7 @@ func (c *E2eCLI) NewDockerCmd(args ...string) icmd.Cmd {
// RunDockerOrFail runs a docker command and returns a result
func (c *E2eCLI) RunDockerOrFail(args ...string) *icmd.Result {
fmt.Printf(" [%s] docker %s\n", c.test.Name() , strings.Join(args, " ") )
fmt.Printf(" [%s] docker %s\n", c.test.Name(), strings.Join(args, " "))
return icmd.RunCmd(c.NewDockerCmd(args...))
}