Skip to content

Commit

Permalink
Merge pull request #27104 from hexedpackets/develop
Browse files Browse the repository at this point in the history
Remove only the file extension when checking missing cached nodes.
  • Loading branch information
Mike Place committed Sep 14, 2015
2 parents 5bc3b96 + 86d063f commit 1c7b318
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion salt/utils/cloud.py
Original file line number Diff line number Diff line change
Expand Up @@ -2751,7 +2751,7 @@ def missing_node_cache(prov_dir, node_list, provider, opts):
'''
cached_nodes = []
for node in os.listdir(prov_dir):
cached_nodes.append(node.replace('.p', ''))
cached_nodes.append(os.path.splitext(node)[0])

log.debug(sorted(cached_nodes))
log.debug(sorted(node_list))
Expand Down

0 comments on commit 1c7b318

Please sign in to comment.