diff --git a/net/traefik/files/patch-pkg_collector_hydratation_hydration.go b/net/traefik/files/patch-pkg_collector_hydratation_hydration.go new file mode 100644 index 0000000000000..599cf8be55c86 --- /dev/null +++ b/net/traefik/files/patch-pkg_collector_hydratation_hydration.go @@ -0,0 +1,11 @@ +--- pkg/collector/hydratation/hydration.go.orig 2024-02-12 15:25:23 UTC ++++ pkg/collector/hydratation/hydration.go +@@ -56,7 +56,7 @@ func fill(field reflect.Value) error { + case reflect.Int64: + switch field.Type() { + case reflect.TypeOf(types.Duration(time.Second)): +- setTyped(field, int64(defaultNumber*int(time.Second))) ++ setTyped(field, int64(defaultNumber)*int64(time.Second)) + default: + setTyped(field, int64(defaultNumber)) + }