Skip to content

Commit

Permalink
Use registry on image inspection
Browse files Browse the repository at this point in the history
  • Loading branch information
fxposter committed Jan 13, 2015
1 parent ccaaaee commit be9d738
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions providers/image.rb
Original file line number Diff line number Diff line change
Expand Up @@ -64,9 +64,9 @@ def load_current_resource
end

action :pull do
old_hash = docker_inspect_id(image_and_tag_arg)
old_hash = docker_inspect_id(registry_image_and_tag_arg)
pull
new_hash = docker_inspect_id(image_and_tag_arg)
new_hash = docker_inspect_id(registry_image_and_tag_arg)
new_resource.updated_by_last_action(new_hash != old_hash)
end

Expand Down

0 comments on commit be9d738

Please sign in to comment.