We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b43f643 commit b4b30e6Copy full SHA for b4b30e6
pkg/resources/configmaps/configmap.go
@@ -82,7 +82,11 @@ func generateRedisConfContent(configMap map[string]string) string {
82
sort.Strings(keys)
83
84
for _, k := range keys {
85
- buffer.WriteString(fmt.Sprintf("%s %s", k, configMap[k]))
+ v := configMap[k]
86
+ if len(v) == 0 {
87
+ continue
88
+ }
89
+ buffer.WriteString(fmt.Sprintf("%s %s", k, v))
90
buffer.WriteString("\n")
91
}
92
0 commit comments