dnsexit2: Don't repeat the same success message
This commit is contained in:
parent
3a5e86b4d2
commit
9b1a785c6d
1 changed files with 1 additions and 1 deletions
|
@ -4290,11 +4290,11 @@ sub nic_dnsexit2_update {
|
|||
|
||||
# Handle statuses
|
||||
if ($status eq 'good') {
|
||||
success("%s", $message);
|
||||
$config{$h}{'mtime'} = $now;
|
||||
for my $ipv (keys %total_payload) {
|
||||
$config{$h}{"ipv$ipv"} = $total_payload{$ipv}{content};
|
||||
$config{$h}{"status-ipv$ipv"} = 'good';
|
||||
success("%s", $message);
|
||||
success("Updated %s successfully to IPv%s address %s at time %s", $h, $ipv, $total_payload{$ipv}{content}, prettytime($config{$h}{'mtime'}));
|
||||
}
|
||||
} elsif ($status eq 'warning') {
|
||||
|
|
Loading…
Reference in a new issue