Skip to content

Commit

Permalink
Merge pull request #185 from bplunkert/fix_container_name_matching
Browse files Browse the repository at this point in the history
adding split on commas in container_name_matches? definition
  • Loading branch information
bflad committed Jul 10, 2014
2 parents 72cb9e5 + 7d5bd56 commit 5493149
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion providers/container.rb
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ def container_image_matches?(image)

def container_name_matches?(names)
return false unless names
new_resource.container_name && new_resource.container_name == names
new_resource.container_name if names.split(',').include?(new_resource.container_name)
end

def container_name_matches_if_exists?(names)
Expand Down

0 comments on commit 5493149

Please sign in to comment.