Skip to content
This repository has been archived by the owner on Nov 30, 2021. It is now read-only.

Commit

Permalink
Merge pull request #407 from tombh/346-node-del-check-case-insensitive
Browse files Browse the repository at this point in the history
LGTM™
  • Loading branch information
mboersma committed Dec 18, 2013
2 parents 953e329 + f581767 commit b15d949
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion provider/vagrant.py
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ def destroy_node(node):
_host_ssh(commands=[rm_vagrantfile, rm_node_dir], creds=node['creds'])
except RuntimeError as err:
# If we couldn't cd to the node dir, just log that as a warning
if 'No such file or directory' in str(err):
if 'no such file or directory' in str(err).lower():
logger.warn(err)
else:
raise
Expand Down

0 comments on commit b15d949

Please sign in to comment.