update to use latest grpc API

This commit is contained in:
Chris Lu 2021-11-03 01:38:38 -07:00
parent 179810df8e
commit 3e43cc27b7
1 changed files with 1 additions and 1 deletions

View File

@ -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,