diff --git a/cmd/util/confighelpers/configuration.go b/cmd/util/confighelpers/configuration.go index 46b49ff014..55c9ec330f 100644 --- a/cmd/util/confighelpers/configuration.go +++ b/cmd/util/confighelpers/configuration.go @@ -274,7 +274,7 @@ func stringToSliceDurationHookFunc(sep string) mapstructure.DecodeHookFunc { return data, nil } - raw := data.(string) + raw, _ := data.(string) if raw == "" { return []time.Duration{}, nil }