mirror of
https://github.com/akvorado/akvorado.git
synced 2025-12-12 06:24:10 +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) {
|
func New(r *reporter.Reporter, dependencies Dependencies) (*Component, error) {
|
||||||
cli, err := client.New(
|
cli, err := client.New(
|
||||||
client.FromEnv,
|
client.FromEnv,
|
||||||
client.WithAPIVersionNegotiation(),
|
|
||||||
)
|
)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return nil, fmt.Errorf("unable to initialize Docker client: %w", err)
|
return nil, fmt.Errorf("unable to initialize Docker client: %w", err)
|
||||||
|
|||||||
Reference in New Issue
Block a user