Skip to content

Commit

Permalink
Merge pull request #9842 from techhat/gateway
Browse files Browse the repository at this point in the history
Fix key error with gateway, fixes #9841
  • Loading branch information
s0undt3ch committed Jan 19, 2014
2 parents 6ed91e9 + e3d6305 commit d4d1f69
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion salt/utils/cloud.py
Expand Up @@ -631,9 +631,11 @@ def deploy_script(host, port=22, timeout=900, username='root',
key_filename
)
)

gateway = None
if kwargs['gateway']:
if 'gateway' in kwargs:
gateway = kwargs['gateway']

starttime = time.mktime(time.localtime())
log.debug('Deploying {0} at {1}'.format(host, starttime))

Expand Down

0 comments on commit d4d1f69

Please sign in to comment.