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
{{ message }}
Repository navigation
Commit cacbe3b
Browse filesBrowse the repository at this point in the historyBrowse files
"Cannot add new boolean flags (found new flag --%s).", fl.Name)
97
107
t.Errorf("The policy is to only ever use enum-typed flags. Boolean cannot grow new states, and cannot distinguish the 'unset' from 'explicitly set' state, preventing the addition of automatic selection logic down the line.")
98
108
t.Errorf("Instead, define an enum flag with at least two named values instead. See e.g. --host-settings or `--sidecar-release-enforcement-policy`.")
99
109
}
100
110
})
101
-
forname:=rangeboolFlagAllowlist {
102
-
if_, ok:=registered[name]; !ok {
103
-
t.Errorf("Flag --%s is in boolFlagAllowlist but is not a registered boolean flag. Thank you for removing boolean flags! Now please remove it from the allowlist.", name)
t.Errorf("Flag --%s is in a boolean allowlist but is not a registered boolean flag. Thank you for removing boolean flags! Now please remove it from the allowlist.", name)
0 commit comments