refactoring

This commit is contained in:
Chris Lu
2021-08-04 12:30:18 -07:00
parent f6a9ad8001
commit d84c311699
5 changed files with 35 additions and 17 deletions

View File

@@ -228,6 +228,7 @@ func (ms *MasterServer) startAdminScripts() {
shellOptions.Masters = &masterAddress
shellOptions.FilerHost, shellOptions.FilerPort, err = util.ParseHostPort(filerHostPort)
shellOptions.FilerAddress = filerHostPort
shellOptions.Directory = "/"
if err != nil {
glog.V(0).Infof("failed to parse master.filer.default = %s : %v\n", filerHostPort, err)