Skip to content

Commit faeb497

Browse files
committed
Fix UnboundLocal Error.
1 parent 154eced commit faeb497

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

enterprise_gateway/services/processproxies/processproxy.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -586,8 +586,8 @@ def _get_ssh_client(self, host):
586586

587587
global remote_user
588588
global remote_pwd
589+
use_gss = os.getenv("EG_REMOTE_GSS_SSH", None)
589590
if remote_user is None:
590-
use_gss = os.getenv("EG_REMOTE_GSS_SSH", None)
591591
remote_pwd = os.getenv("EG_REMOTE_PWD") # this should use password-less ssh
592592
remote_user = os.getenv("EG_REMOTE_USER", getpass.getuser())
593593

0 commit comments

Comments
 (0)