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:
Mike Chester 2021-05-11 08:48:44 -07:00 committed by GitHub
parent f776018d82
commit 9fb2aee4d0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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;