mirror of
https://github.com/optim-enterprises-bv/kubernetes.git
synced 2025-11-02 19:28:16 +00:00
Feature gate is not stable sorted - docs change each gen
This commit is contained in:
@@ -216,6 +216,7 @@ func (f *featureGate) AddFlag(fs *pflag.FlagSet) {
|
|||||||
}
|
}
|
||||||
known = append(known, fmt.Sprintf("%s=true|false (%sdefault=%t)", k, pre, v.enabled))
|
known = append(known, fmt.Sprintf("%s=true|false (%sdefault=%t)", k, pre, v.enabled))
|
||||||
}
|
}
|
||||||
|
sort.Strings(known)
|
||||||
fs.Var(f, flagName, ""+
|
fs.Var(f, flagName, ""+
|
||||||
"A set of key=value pairs that describe feature gates for alpha/experimental features. "+
|
"A set of key=value pairs that describe feature gates for alpha/experimental features. "+
|
||||||
"Options are:\n"+strings.Join(known, "\n"))
|
"Options are:\n"+strings.Join(known, "\n"))
|
||||||
|
|||||||
Reference in New Issue
Block a user