mirror of
https://github.com/Icinga/icinga-powershell-framework.git
synced 2025-12-23 16:19:37 -05:00
Improves IP conversion by returning unresolved name only
This commit is contained in:
parent
4a869458cc
commit
eeb7406382
1 changed files with 1 additions and 1 deletions
|
|
@ -49,7 +49,7 @@ function Convert-IcingaEndpointsToIPv4()
|
|||
);
|
||||
$ResolvedNetwork += $entry.Replace($Network.address, $ResolvedIP);
|
||||
} catch {
|
||||
$UnresolvedNetwork += $entry;
|
||||
$UnresolvedNetwork += $Network.address;
|
||||
$HasUnresolved = $TRUE;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue