Skip to content

Commit

Permalink
fix: Same Fix for ConfigNamespaceContext
Browse files Browse the repository at this point in the history
  • Loading branch information
a-spiker committed Sep 12, 2024
1 parent 4b75b98 commit 5dfc174
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion info/as_parser.go
Original file line number Diff line number Diff line change
Expand Up @@ -1170,7 +1170,7 @@ func parseAllXDRConfig(rawMap map[string]string, cmd string) lib.Stats {

if nsNamesRaw == "" {
nsNames = []string{}
dcMap[ConfigNamespaceContext] = struct{}{}
dcMap[ConfigNamespaceContext] = make(lib.Stats)
} else {
nsNames = strings.Split(nsNamesRaw, ",")
dcMap[ConfigNamespaceContext] = make(lib.Stats, len(nsNames))
Expand Down

0 comments on commit 5dfc174

Please sign in to comment.