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 = "https://$config{$h}{'server'}$config{$h}{'script'}";
|
||||||
$url .= "/livedns/domains/$config{$h}{'zone'}/records/$hostname/$rrset_type";
|
$url .= "/livedns/domains/$config{$h}{'zone'}/records/$hostname/$rrset_type";
|
||||||
|
|
||||||
my $reply = geturl({
|
my $reply = geturl(
|
||||||
proxy => opt('proxy'),
|
proxy => opt('proxy'),
|
||||||
url => $url,
|
url => $url,
|
||||||
headers => $headers,
|
headers => $headers,
|
||||||
method => 'PUT',
|
method => 'PUT',
|
||||||
data => $data,
|
data => $data,
|
||||||
});
|
);
|
||||||
unless ($reply) {
|
unless ($reply) {
|
||||||
failed("%s -- Could not connect to %s.", $h, $config{$h}{'server'});
|
failed("%s -- Could not connect to %s.", $h, $config{$h}{'server'});
|
||||||
next;
|
next;
|
||||||
|
|
Loading…
Reference in a new issue