fix error with double request
This commit is contained in:
parent
ac67c387c1
commit
0642de9bd6
|
@ -121,6 +121,7 @@ sub run {
|
||||||
$self->{option_results}->{port} = $self->{option_results}->{registry_port};
|
$self->{option_results}->{port} = $self->{option_results}->{registry_port};
|
||||||
$self->{option_results}->{proto} = $self->{option_results}->{registry_proto};
|
$self->{option_results}->{proto} = $self->{option_results}->{registry_proto};
|
||||||
$self->{option_results}->{hostname} = $self->{option_results}->{registry_hostname};
|
$self->{option_results}->{hostname} = $self->{option_results}->{registry_hostname};
|
||||||
|
$self->{http}->set_options(%{$self->{option_results}});
|
||||||
|
|
||||||
$jsoncontent2 = $self->{http}->request();
|
$jsoncontent2 = $self->{http}->request();
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue