Negociate API version with docker engine

Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
This commit is contained in:
Nicolas De Loof 2020-11-17 13:44:51 +01:00
parent 46cbb908fe
commit a701fd7601
No known key found for this signature in database
GPG Key ID: 9858809D6F8F6E7E
1 changed files with 1 additions and 1 deletions

View File

@ -41,7 +41,7 @@ func init() {
}
func service(ctx context.Context) (backend.Service, error) {
apiClient, err := client.NewClientWithOpts(client.FromEnv)
apiClient, err := client.NewClientWithOpts(client.FromEnv, client.WithAPIVersionNegotiation())
if err != nil {
return nil, err
}