Skip to content

Commit 8e8efda

Browse files
matt-songavamingli
authored andcommitted
Call the right function to get the coordinator data dir (#16904)
It had a typo and `gp` was not imported yet there.
1 parent 1945e2f commit 8e8efda

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

gpMgmt/bin/gpssh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ def parseConfigFile():
110110

111111
try:
112112
config = configparser.RawConfigParser()
113-
config.read(gp.get_coordinator_datadir() + '/gpssh.conf')
113+
config.read(get_coordinatordatadir() + '/gpssh.conf')
114114
if GV.DELAY_BEFORE_SEND is None:
115115
GV.DELAY_BEFORE_SEND = config.getfloat('gpssh', 'delaybeforesend')
116116
if GV.PROMPT_VALIDATION_TIMEOUT is None:

0 commit comments

Comments
 (0)