diff --git a/controllers/swadmin/seaweed_admin.go b/controllers/swadmin/seaweed_admin.go index 3f25137..2be4e00 100644 --- a/controllers/swadmin/seaweed_admin.go +++ b/controllers/swadmin/seaweed_admin.go @@ -24,7 +24,7 @@ func NewSeaweedAdmin(masters string, output io.Writer) *SeaweedAdmin { commandEnv := shell.NewCommandEnv(shellOptions) reg, _ := regexp.Compile(`'.*?'|".*?"|\S+`) - go commandEnv.MasterClient.KeepConnectedToMaster() + go commandEnv.MasterClient.SubscribeVolumeLocationUpdatesToMaster() return &SeaweedAdmin{ commandEnv: commandEnv,