From 115321293d74045ab0cab357c5c82bf07bafe55b Mon Sep 17 00:00:00 2001 From: puffrfish Date: Sun, 31 Dec 2017 19:09:49 -0500 Subject: [PATCH] Clean up docker.go --- environments/docker.go | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/environments/docker.go b/environments/docker.go index 1ff0f2d..2007de8 100644 --- a/environments/docker.go +++ b/environments/docker.go @@ -228,17 +228,13 @@ func (e *docker) WaitForMainProcessFor(timeout int) (err error) { return } -const ( - dockerAPIversionDefault = "1.25" -) - func (d *docker) getClient() (*client.Client, error) { var err error = nil if d.cli == nil { d.cli, err = client.NewEnvClient() ctx := context.Background() d.cli.NegotiateAPIVersion(ctx) - } + } return d.cli, err }