dnsexit2: Add final comma after last list item
for consistency, and to avoid bugs if additional items are added or the items are reordered.
This commit is contained in:
parent
7c4fe28bab
commit
4804e15c12
1 changed files with 2 additions and 2 deletions
|
@ -4200,14 +4200,14 @@ sub nic_dnsexit2_update {
|
|||
my $data = encode_json({
|
||||
apikey => $config{$h}{'password'},
|
||||
domain => $config{$h}{'zone'},
|
||||
update => \@payload_values
|
||||
update => \@payload_values,
|
||||
});
|
||||
my $reply = geturl(
|
||||
proxy => opt('proxy'),
|
||||
url => $url,
|
||||
headers => $header,
|
||||
method => 'POST',
|
||||
data => $data
|
||||
data => $data,
|
||||
);
|
||||
unless ($reply && header_ok($h, $reply)) {
|
||||
failed("updating %s: Could not connect to %s%s.", $h, $config{$h}{'server'}, $config{$h}{'path'});
|
||||
|
|
Loading…
Reference in a new issue