Skip to content

Commit b15d949

Browse files
committed
Merge pull request #407 from tombh/346-node-del-check-case-insensitive
LGTM™
2 parents 953e329 + f581767 commit b15d949

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

provider/vagrant.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ def destroy_node(node):
146146
_host_ssh(commands=[rm_vagrantfile, rm_node_dir], creds=node['creds'])
147147
except RuntimeError as err:
148148
# If we couldn't cd to the node dir, just log that as a warning
149-
if 'No such file or directory' in str(err):
149+
if 'no such file or directory' in str(err).lower():
150150
logger.warn(err)
151151
else:
152152
raise

0 commit comments

Comments
 (0)