Skip to content

Commit

Permalink
Docs: Update flagsMapFromEnv comments (#723)
Browse files Browse the repository at this point in the history
  • Loading branch information
oshirohugo authored Aug 29, 2023
1 parent d4c32f3 commit 1e2d4da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion experimental/featuretoggles/featuretoggles.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ func newFeatureTogglesFromEnv() featureToggles {
return featureToggles{flags: flagsMapFromEnv()}
}

// flagsMapFromEnv returns a new set-like map[string]struct{}, where the keys are the space-separated names in
// flagsMapFromEnv returns a new set-like map[string]struct{}, where the keys are the comma-separated names in
// the `envFeatureTogglesEnable` env var.
func flagsMapFromEnv() map[string]struct{} {
flags := strings.Split(os.Getenv(envFeatureTogglesEnable), ",")
Expand Down

0 comments on commit 1e2d4da

Please sign in to comment.