fix a grammatical problem in a comment

This commit is contained in:
Shijun Qin 2017-10-31 20:03:56 +08:00 committed by GitHub
parent c2a18cca6b
commit ad336e57cf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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{}