You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
returnfmt.Errorf("failed to read opts config file: %v", err)
109
127
}
110
128
// NOTE: Config value will override default values of intersecting options.
111
-
err=yaml.Unmarshal(optsConfigFile, opts)
129
+
err=yaml.Unmarshal(configFile, opts)
112
130
iferr!=nil {
113
131
// DO NOT end the process.
114
132
// We want to allow the user to still be able to fix the misconfigured config (redeploy or edit the configmaps) and reload KSM automatically once that's done.
115
133
klog.Warningf("failed to unmarshal opts config file: %v", err)
116
134
// Wait for the next reload.
117
135
klog.Infof("misconfigured config detected, KSM will automatically reload on next write to the config")
0 commit comments