dinahosting: Fix missing argument for log message format specifier
Also use string interpolation for readability and to reduce the chances of reintroducing a bug like this in the future.
This commit is contained in:
parent
706ba713e0
commit
42d635c2df
1 changed files with 1 additions and 1 deletions
|
@ -6833,7 +6833,7 @@ sub nic_dinahosting_update {
|
||||||
my $code = $1 // '<undefined>';
|
my $code = $1 // '<undefined>';
|
||||||
$reply =~ /^errors_0_message = '(.*)'$/m;
|
$reply =~ /^errors_0_message = '(.*)'$/m;
|
||||||
my $message = $1 // '<undefined>';
|
my $message = $1 // '<undefined>';
|
||||||
failed("updating %s: error %d: %s", $code, $message);
|
failed("updating $h: error $code: $message");
|
||||||
next;
|
next;
|
||||||
}
|
}
|
||||||
$config{$h}{'ip'} = $ip;
|
$config{$h}{'ip'} = $ip;
|
||||||
|
|
Loading…
Reference in a new issue