Skip to content

Commit a02dfac

Browse files
committed
fixup! Replace cli.StringSlice with []string
1 parent 9fba63d commit a02dfac

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cmd/config-manager/main.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -366,8 +366,8 @@ func updateConfigName(config string, f *Flags) (string, error) {
366366
}
367367

368368
// Otherwise, if no explicit default is set, step through the configured fallbacks.
369-
klog.Infof("No value set and no default set. Attempting fallback strategies: %v", f.FallbackStrategies.Value())
370-
for _, fallback := range f.FallbackStrategies.Value() {
369+
klog.Infof("No value set and no default set. Attempting fallback strategies: %v", f.FallbackStrategies)
370+
for _, fallback := range f.FallbackStrategies {
371371
switch fallback {
372372
case FallbackStrategyNamedConfig:
373373
klog.Infof("Attempting to find config named: %v", NamedConfigFallback)

0 commit comments

Comments
 (0)