mirror of
https://github.com/containrrr/watchtower.git
synced 2025-09-21 21:30:48 +02:00
Port client lib from samalba/dockerclient to docker/docker/client
This commit is contained in:
parent
25f1fee8e2
commit
99ed959155
4 changed files with 74 additions and 61 deletions
4
main.go
4
main.go
|
@ -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()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue