mirror of
https://github.com/Icinga/icinga-powershell-framework.git
synced 2025-12-21 07:10:15 -05:00
Fixed error on removing hashtable cache content
This commit is contained in:
parent
04af3a8503
commit
993defec04
1 changed files with 1 additions and 1 deletions
|
|
@ -91,7 +91,7 @@ function Start-IcingaServiceCheckTask()
|
||||||
# Flush data we no longer require in our cache to free memory
|
# Flush data we no longer require in our cache to free memory
|
||||||
foreach ($entry in $OldData.Keys) {
|
foreach ($entry in $OldData.Keys) {
|
||||||
foreach ($key in $OldData[$entry].Keys) {
|
foreach ($key in $OldData[$entry].Keys) {
|
||||||
Remove-IcingaHashtableItem -Hashtable $$IcingaDaemonData.BackgroundDaemon.ServiceCheckScheduler[$CheckCommand]['results'][$entry] -Key $key.Name
|
Remove-IcingaHashtableItem -Hashtable $IcingaDaemonData.BackgroundDaemon.ServiceCheckScheduler[$CheckCommand]['results'][$entry] -Key $key.Name
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue