Skip to content

Commit

Permalink
Made container name matching more strict.
Browse files Browse the repository at this point in the history
  • Loading branch information
jperville committed Aug 29, 2014
1 parent acc8296 commit cac59af
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 @@ -128,7 +128,7 @@ def container_matches?(ps)
return false unless container_image_matches?(ps['image'])
return false unless container_command_matches_if_exists?(ps['command'])
return false unless container_name_matches_if_exists?(ps['names'])
true
false
end

def container_command_matches_if_exists?(command)
Expand Down

0 comments on commit cac59af

Please sign in to comment.