From 0642de9bd69714454af400b4389435611e6ef7c7 Mon Sep 17 00:00:00 2001 From: Shini31 Date: Mon, 10 Aug 2015 15:44:11 +0200 Subject: [PATCH] fix error with double request --- cloud/docker/mode/image.pm | 1 + 1 file changed, 1 insertion(+) diff --git a/cloud/docker/mode/image.pm b/cloud/docker/mode/image.pm index 5f9e18f1c..5ad1c22fd 100644 --- a/cloud/docker/mode/image.pm +++ b/cloud/docker/mode/image.pm @@ -121,6 +121,7 @@ sub run { $self->{option_results}->{port} = $self->{option_results}->{registry_port}; $self->{option_results}->{proto} = $self->{option_results}->{registry_proto}; $self->{option_results}->{hostname} = $self->{option_results}->{registry_hostname}; + $self->{http}->set_options(%{$self->{option_results}}); $jsoncontent2 = $self->{http}->request();