Skip to content

Commit

Permalink
Bugfix: ssh command was wrong when not specifying a username
Browse files Browse the repository at this point in the history
  • Loading branch information
feikesteenbergen committed Sep 10, 2015
1 parent 551c3b5 commit f762792
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spilo_cmd/spilo/spilo.py
Original file line number Diff line number Diff line change
Expand Up @@ -645,7 +645,7 @@ def get_tunnel(service_name=None, reuse=True, create=True):
if odd_config.get('user_name') is not None:
ssh_cmd += ['{}@{}'.format(odd_config['user_name'], odd_config['odd_host'])]
else:
ssh_cmd += odd_config.get('odd_host') or ''
ssh_cmd += [odd_config.get('odd_host') or '']

env = os.environ.copy()
env['SPILOCLUSTER'] = spilo.version or ''
Expand Down

0 comments on commit f762792

Please sign in to comment.