fix #14: negotiate docker client version

This commit is contained in:
Casey Lee committed 2019-01-21 06:31:40 -08:00
1 parent 3cdc039201
commit cbab149ff7
3 files changed
+3

No files matched your search

+1
View File
@@ -31,6 +31,7 @@ func NewDockerPullExecutor(input NewDockerPullExecutorInput) common.Executor {
if err != nil {
return err
}
cli.NegotiateAPIVersion(input.Ctx)
reader, err := cli.ImagePull(input.Ctx, imageRef, types.ImagePullOptions{})
input.logDockerResponse(reader, err != nil)