From 1053ae7d62c06b7a155aad10faf3f1490e375eba Mon Sep 17 00:00:00 2001 From: Chris Lu Date: Sun, 25 Apr 2021 21:54:38 -0700 Subject: [PATCH] fix typo fix https://github.com/seaweedfs/seaweedfs-operator/issues/37 --- controllers/controller_volume_statefulset.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/controllers/controller_volume_statefulset.go b/controllers/controller_volume_statefulset.go index 1b56a33..1f88a55 100644 --- a/controllers/controller_volume_statefulset.go +++ b/controllers/controller_volume_statefulset.go @@ -16,7 +16,7 @@ func buildVolumeServerStartupScript(m *seaweedv1.Seaweed, dirs []string) string commands := []string{"weed", "volume"} commands = append(commands, fmt.Sprintf("-port=%d", seaweedv1.VolumeHTTPPort)) commands = append(commands, "-max=0") - commands = append(commands, fmt.Sprintf("-ip=$(POD_NAME).%s-volume-peer,%s", m.Name, m.Namespace)) + commands = append(commands, fmt.Sprintf("-ip=$(POD_NAME).%s-volume-peer.%s", m.Name, m.Namespace)) if m.Spec.HostSuffix != nil && *m.Spec.HostSuffix != "" { commands = append(commands, fmt.Sprintf("-publicUrl=$(POD_NAME).%s", *m.Spec.HostSuffix)) }