Skip to content

Commit 6757d16

Browse files
jan-gRafalKorepta
authored andcommitted
Appease linter
1 parent 0efa0ba commit 6757d16

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

operator/pkg/clusterconfiguration/expander.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ type (
4040
func ExpandForBootstrap(cfg vectorizedv1alpha1.ClusterConfiguration) (map[string]ClusterConfigTemplateValue, []corev1.EnvVar, error) {
4141
expanded := make(map[string]ClusterConfigTemplateValue, len(cfg))
4242
ensureVar := func(k string) string {
43-
return "REDPANDA_" + strings.Replace(strings.ToUpper(k), ".", "_", -1)
43+
return "REDPANDA_" + strings.ReplaceAll(strings.ToUpper(k), ".", "_")
4444
}
4545
var envs []corev1.EnvVar
4646
for k, v := range cfg {

0 commit comments

Comments
 (0)