Port client lib from samalba/dockerclient to docker/docker/client

This commit is contained in:
Ross Cadogan 2016-10-13 21:34:24 +01:00
parent 25f1fee8e2
commit 99ed959155
4 changed files with 74 additions and 61 deletions

View file

@ -115,12 +115,12 @@ func before(c *cli.Context) error {
cleanup = c.GlobalBool("cleanup")
// Set-up container client
tls, err := tlsConfig(c)
_, err := tlsConfig(c)
if err != nil {
return err
}
client = container.NewClient(c.GlobalString("host"), tls, !c.GlobalBool("no-pull"))
client = container.NewClient(c.GlobalString("host"), !c.GlobalBool("no-pull"))
login(c)
handleSignals()