fix cm_ctl 查询环境异常
This commit is contained in:
parent
9a92a12b8b
commit
6301ff6515
@ -74,7 +74,7 @@ class DropnodeImpl():
|
||||
if envFile:
|
||||
self.envFile = envFile
|
||||
else:
|
||||
self.envFile = ClusterConstants.ETC_PROFILE
|
||||
self.envFile = ClusterConstants.HOME_USER_BASHRC % self.user
|
||||
gphomepath = EnvUtil.getEnv("GPHOME")
|
||||
if gphomepath:
|
||||
self.gphomepath = gphomepath
|
||||
|
Loading…
x
Reference in New Issue
Block a user