File tree 4 files changed +9
-10
lines changed
4 files changed +9
-10
lines changed Original file line number Diff line number Diff line change @@ -59,8 +59,8 @@ github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c
59
59
github.com/davecgh/go-spew v1.1.1 /go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38 =
60
60
github.com/docker/distribution v2.7.1-0.20190205005809-0d3efadf0154+incompatible h1:dvc1KSkIYTVjZgHf/CTC2diTYC8PzhaA5sFISRfNVrE =
61
61
github.com/docker/distribution v2.7.1-0.20190205005809-0d3efadf0154+incompatible /go.mod h1:J2gT2udsDAN96Uj4KfcMRqY0/ypR+oyYUYmja8H+y+w =
62
- github.com/docker/docker v0.7.3 -0.20190327010347-be7ac8be2ae0 h1:w3NnFcKR5241cfmQU5ZZAsf0xcpId6mWOupTvJlUX2U =
63
- github.com/docker/docker v0.7.3 -0.20190327010347-be7ac8be2ae0 /go.mod h1:eEKB0N0r5NX/I1kEveEz05bcu8tLC/8azJZsviup8Sk =
62
+ github.com/docker/docker v1.4.2 -0.20200309214505-aa6a9891b09c h1:zviRyz1SWO8+WVJbi9/jlJCkrsZ54r/lTRbgtcaQhLs =
63
+ github.com/docker/docker v1.4.2 -0.20200309214505-aa6a9891b09c /go.mod h1:eEKB0N0r5NX/I1kEveEz05bcu8tLC/8azJZsviup8Sk =
64
64
github.com/docker/go-connections v0.4.0 h1:El9xVISelRB7BuFusrZozjnkIM5YnzCViNKohAFqRJQ =
65
65
github.com/docker/go-connections v0.4.0 /go.mod h1:Gbd7IOopHjR8Iph03tsViu4nIes5XhDvyHbTtUxmeec =
66
66
github.com/docker/go-units v0.4.0 h1:3uh0PgVws3nIA0Q+MwDC8yjEPf9zjRfZZWXZYDct3Tw =
Original file line number Diff line number Diff line change @@ -52,11 +52,10 @@ func Client() (*dclient.Client, error) {
52
52
TLSClientConfig : tlsc ,
53
53
}
54
54
}
55
- dockerClient , dockerClientErr = dclient .NewClient (* ArgDockerEndpoint ,
56
- "" ,
57
- client ,
58
- nil )
59
-
55
+ dockerClient , dockerClientErr = dclient .NewClientWithOpts (
56
+ dclient .WithHost (* ArgDockerEndpoint ),
57
+ dclient .WithHTTPClient (client ),
58
+ dclient .WithAPIVersionNegotiation ())
60
59
})
61
60
return dockerClient , dockerClientErr
62
61
}
Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ require (
14
14
github.com/containerd/typeurl v1.0.0
15
15
github.com/coreos/go-systemd/v22 v22.1.0 // indirect
16
16
github.com/docker/distribution v2.7.1-0.20190205005809-0d3efadf0154+incompatible // indirect
17
- github.com/docker/docker v0.7.3 -0.20190327010347-be7ac8be2ae0
17
+ github.com/docker/docker v1.4.2 -0.20200309214505-aa6a9891b09c
18
18
github.com/docker/go-connections v0.4.0
19
19
github.com/docker/go-units v0.4.0
20
20
github.com/euank/go-kmsg-parser v2.0.0+incompatible
Original file line number Diff line number Diff line change @@ -49,8 +49,8 @@ github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c
49
49
github.com/davecgh/go-spew v1.1.1 /go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38 =
50
50
github.com/docker/distribution v2.7.1-0.20190205005809-0d3efadf0154+incompatible h1:dvc1KSkIYTVjZgHf/CTC2diTYC8PzhaA5sFISRfNVrE =
51
51
github.com/docker/distribution v2.7.1-0.20190205005809-0d3efadf0154+incompatible /go.mod h1:J2gT2udsDAN96Uj4KfcMRqY0/ypR+oyYUYmja8H+y+w =
52
- github.com/docker/docker v0.7.3 -0.20190327010347-be7ac8be2ae0 h1:w3NnFcKR5241cfmQU5ZZAsf0xcpId6mWOupTvJlUX2U =
53
- github.com/docker/docker v0.7.3 -0.20190327010347-be7ac8be2ae0 /go.mod h1:eEKB0N0r5NX/I1kEveEz05bcu8tLC/8azJZsviup8Sk =
52
+ github.com/docker/docker v1.4.2 -0.20200309214505-aa6a9891b09c h1:zviRyz1SWO8+WVJbi9/jlJCkrsZ54r/lTRbgtcaQhLs =
53
+ github.com/docker/docker v1.4.2 -0.20200309214505-aa6a9891b09c /go.mod h1:eEKB0N0r5NX/I1kEveEz05bcu8tLC/8azJZsviup8Sk =
54
54
github.com/docker/go-connections v0.4.0 h1:El9xVISelRB7BuFusrZozjnkIM5YnzCViNKohAFqRJQ =
55
55
github.com/docker/go-connections v0.4.0 /go.mod h1:Gbd7IOopHjR8Iph03tsViu4nIes5XhDvyHbTtUxmeec =
56
56
github.com/docker/go-units v0.4.0 h1:3uh0PgVws3nIA0Q+MwDC8yjEPf9zjRfZZWXZYDct3Tw =
You can’t perform that action at this time.
0 commit comments