Skip to content

Commit

Permalink
Fix explicit Docker container resolution.
Browse files Browse the repository at this point in the history
Fix thanks to @stevecassidy. Fixes #3207.

Broken with introduction of container resolution stradegies in #2986.
  • Loading branch information
jmchilton committed Dec 20, 2016
1 parent 5eafa8b commit 05cd16f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/galaxy/tools/deps/container_resolvers/explicit.py
Expand Up @@ -20,7 +20,7 @@ def resolve(self, enabled_container_types, tool_info):
a correct container.
"""
for container_description in tool_info.container_descriptions:
if self._container_type_enabled(container_description):
return True
if self._container_type_enabled(container_description, enabled_container_types):
return container_description

return False
return None

0 comments on commit 05cd16f

Please sign in to comment.