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…
Reference in New Issue