fix(docker): enable API version negotiation for Docker client (#607)

This commit is contained in:
Boshi Lian 2025-06-02 10:24:29 -07:00 committed by GitHub
parent c58b160f22
commit afd80aa590
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 1 additions and 2 deletions

View file

@ -26,7 +26,7 @@ type plugin struct {
}
func newDockerPlugin() (*plugin, error) {
cli, err := client.NewClientWithOpts(client.FromEnv)
cli, err := client.NewClientWithOpts(client.FromEnv, client.WithAPIVersionNegotiation())
if err != nil {
return nil, err
}