Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
gpssh: removing b and \r getting added to command output
Issue: This issue applies to 7x only. Gpssh command output contained byte string and \r characters. RCA: When gpssh reads output from pexpect.before, it's in byte format. Need to convert this output into the string format. Also, there are carriage return characters (\r) that need to be removed. Fix: When the output is returned from gpssh, made sure that we are converting bytes to string. To remove \r characters, striping the lines. Sample output before the fix: $ gpssh -h sdw1 hostname [sdw1] b'sdw1\r' After the fix: $ gpssh -h sdw1 hostname [sdw1] sdw1
- Loading branch information