mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-23 19:56:01 +00:00
fix a grammatical problem in a comment
This commit is contained in:
parent
c2a18cca6b
commit
ad336e57cf
@ -115,7 +115,7 @@ func KnownFeatures(f *FeatureList) []string {
|
||||
return known
|
||||
}
|
||||
|
||||
// NewFeatureGate parse a string of the form "key1=value1,key2=value2,..." into a
|
||||
// NewFeatureGate parses a string of the form "key1=value1,key2=value2,..." into a
|
||||
// map[string]bool of known keys or returns an error.
|
||||
func NewFeatureGate(f *FeatureList, value string) (map[string]bool, error) {
|
||||
featureGate := map[string]bool{}
|
||||
|
Loading…
Reference in New Issue
Block a user