mirror of
https://github.com/Icinga/icingaweb2-module-director.git
synced 2025-07-31 01:34:12 +02:00
Icinga2Agent.psm1: change array separator
This commit is contained in:
parent
09a5905147
commit
66ccf6d4a3
@ -1908,8 +1908,8 @@ object ApiListener "api" {
|
||||
$value = $value.Replace("`r", '');
|
||||
$value = $value.Replace("`n", '');
|
||||
|
||||
if ($value.Contains( ',')) {
|
||||
[array]$valueArray = $value.Split(',');
|
||||
if ($value.Contains( '!')) {
|
||||
[array]$valueArray = $value.Split('!');
|
||||
$this.overrideConfig($argument, $valueArray);
|
||||
} else {
|
||||
if ($value.toLower() -eq 'true') {
|
||||
|
Loading…
x
Reference in New Issue
Block a user