Gandi: Fix "Reference found where even-sized list expected" in running the query
This commit is contained in:
parent
11a583b003
commit
a8ac13bc8e
1 changed files with 2 additions and 2 deletions
|
|
@ -5743,13 +5743,13 @@ sub nic_gandi_update {
|
|||
$url = "https://$config{$h}{'server'}$config{$h}{'script'}";
|
||||
$url .= "/livedns/domains/$config{$h}{'zone'}/records/$hostname/$rrset_type";
|
||||
|
||||
my $reply = geturl({
|
||||
my $reply = geturl(
|
||||
proxy => opt('proxy'),
|
||||
url => $url,
|
||||
headers => $headers,
|
||||
method => 'PUT',
|
||||
data => $data,
|
||||
});
|
||||
);
|
||||
unless ($reply) {
|
||||
failed("%s -- Could not connect to %s.", $h, $config{$h}{'server'});
|
||||
next;
|
||||
|
|
|
|||
Loading…
Reference in a new issue