mirror of
https://github.com/akvorado/akvorado.git
synced 2025-12-11 22:14:02 +01:00
conntrackfixer: don't enable API version negotiation
This is enabled by default and requesting it is now deprecated.
This commit is contained in:
@@ -51,7 +51,6 @@ type Dependencies struct {
|
||||
func New(r *reporter.Reporter, dependencies Dependencies) (*Component, error) {
|
||||
cli, err := client.New(
|
||||
client.FromEnv,
|
||||
client.WithAPIVersionNegotiation(),
|
||||
)
|
||||
if err != nil {
|
||||
return nil, fmt.Errorf("unable to initialize Docker client: %w", err)
|
||||
|
||||
Reference in New Issue
Block a user