Merge pull request #246 from rhansen/unwrap

Unwrap unnecessarily wrapped lines
This commit is contained in:
Sandro 2020-07-07 10:11:37 +02:00 committed by GitHub
commit f0c583890a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -3604,10 +3604,8 @@ sub nic_nfsn_update {
verbose("UPDATE", "updating %s", $h);
my $list_path = "/dns/$zone/listRRs";
my $list_body = encode_www_form_urlencoded({name => $name,
type => 'A'});
my $list_resp = nic_nfsn_make_request($h, $list_path, 'POST',
$list_body);
my $list_body = encode_www_form_urlencoded({name => $name, type => 'A'});
my $list_resp = nic_nfsn_make_request($h, $list_path, 'POST', $list_body);
if (!header_ok($h, $list_resp)) {
$config{$h}{'status'} = 'failed';
nic_nfsn_handle_error($list_resp, $h);