mirror of
https://github.com/Icinga/icingaweb2-module-director.git
synced 2025-07-29 08:44:11 +02:00
PropertyModifierGetHostByAddr: fix spaces (no tabs)
This commit is contained in:
parent
b5774ff4a0
commit
1dba427b95
@ -29,10 +29,10 @@ class PropertyModifierGetHostByAddr extends PropertyModifierHook
|
|||||||
|
|
||||||
public function transform($value)
|
public function transform($value)
|
||||||
{
|
{
|
||||||
if ($value === null) {
|
if ($value === null) {
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
$host = gethostbyaddr($value);
|
$host = gethostbyaddr($value);
|
||||||
if ($host === false) {
|
if ($host === false) {
|
||||||
switch ($this->getSetting('on_failure')) {
|
switch ($this->getSetting('on_failure')) {
|
||||||
case 'null':
|
case 'null':
|
||||||
|
Loading…
x
Reference in New Issue
Block a user