Icinga2Agent.psm1: change array separator

This commit is contained in:
Christian Stein 2017-07-13 17:58:20 +02:00 committed by Thomas Gelf
parent 09a5905147
commit 66ccf6d4a3
1 changed files with 2 additions and 2 deletions

View File

@ -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') {