1
0
Fork 0

Merge branch v2.11 into v3.6

This commit is contained in:
kevinpollet 2025-11-13 10:54:22 +01:00
commit 67fef270af
No known key found for this signature in database
GPG key ID: 0C9A5DDD1B292453
2 changed files with 9 additions and 2 deletions

View file

@ -121,8 +121,9 @@ func createClient(ctx context.Context, cfg ClientConfig) (*client.Client, error)
}
opts = append(opts,
client.WithHTTPHeaders(httpHeaders),
client.WithAPIVersionNegotiation())
client.FromEnv,
client.WithAPIVersionNegotiation(),
client.WithHTTPHeaders(httpHeaders))
return client.NewClientWithOpts(opts...)
}