update to use latest grpc API
This commit is contained in:
parent
179810df8e
commit
3e43cc27b7
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue