From 3e43cc27b7e4ca00987a112d9b85b4ff15d8d11b Mon Sep 17 00:00:00 2001 From: Chris Lu Date: Wed, 3 Nov 2021 01:38:38 -0700 Subject: [PATCH] update to use latest grpc API --- controllers/swadmin/seaweed_admin.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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,