From 7db341c03d069e3eddcbdc344b7e1aee394438a1 Mon Sep 17 00:00:00 2001 From: Pavel Forkert Date: Tue, 13 Jan 2015 16:43:58 +0200 Subject: [PATCH] Use registry on image inspection --- providers/image.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/providers/image.rb b/providers/image.rb index 7a03d40255..628f7f357f 100644 --- a/providers/image.rb +++ b/providers/image.rb @@ -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