Fix geturl function call for Gandi (#314)
* Fix geturl function call The function should be called without the brackets * Update ci.yml Removed Cento6 & 8 Co-authored-by: DaveSophoServices <dave@sophoservices.com>
This commit is contained in:
parent
f776018d82
commit
9fb2aee4d0
1 changed files with 7 additions and 7 deletions
14
ddclient.in
14
ddclient.in
|
@ -5744,13 +5744,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({
|
||||
proxy => opt('proxy'),
|
||||
url => $url,
|
||||
headers => $headers,
|
||||
method => 'PUT',
|
||||
data => $data,
|
||||
});
|
||||
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