new pairs will now only be added if there is a valid transition
This commit is contained in:
parent
932738895a
commit
e8d0c0cd6c
@ -52,7 +52,7 @@ function ProduceHashMap {
|
|||||||
$lastState=($array[$array.Count-1]).state
|
$lastState=($array[$array.Count-1]).state
|
||||||
#Write-Host $lastState
|
#Write-Host $lastState
|
||||||
#Write-Host $backUpState
|
#Write-Host $backUpState
|
||||||
if (($lastState -eq 'Failed') -and ($backUpState -eq 'Failed')) {
|
if (($lastState -eq $backUpState) -or ($backUpState -eq 'Finished' -and $lastState -ne 'Started') -or ($backUpState -eq 'Failed' -and $lastState -ne 'Started')) {
|
||||||
#Write-Host "skipping"
|
#Write-Host "skipping"
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
|
@ -1,8 +1,11 @@
|
|||||||
snrdaoeisnrdaoie:2024-02-06 20:00:00 gestartet VMware-Maschine 'test'
|
snrdaoeisnrdaoie:2024-02-06 20:00:00 gestartet VMware-Maschine 'test'
|
||||||
|
snrdaoeisnrdaoie:2024-02-06 20:00:00 gestartet VMware-Maschine 'test'
|
||||||
snrdaoeisnrdaoie:2024-02-06 20:00:00 some harddrive operation
|
snrdaoeisnrdaoie:2024-02-06 20:00:00 some harddrive operation
|
||||||
nsriadoeisnrdaoei
|
nsriadoeisnrdaoei
|
||||||
snrdaoeisnrdaoie:2024-02-06 20:00:00 some other Harddrive operation
|
snrdaoeisnrdaoie:2024-02-06 20:00:00 some other Harddrive operation
|
||||||
snrdaoeisnrdaoie:2024-02-06 20:01:00 VMware-Maschine 'test' Erfolgreiche
|
snrdaoeisnrdaoie:2024-02-06 20:01:00 VMware-Maschine 'test' Erfolgreiche
|
||||||
|
snrdaoeisnrdaoie:2024-02-06 20:01:00 VMware-Maschine 'test' Erfolgreiche
|
||||||
|
snrdaoeisnrdaoie:2024-02-06 20:01:00 VMware-Maschine 'test'
|
||||||
snrdaoeisnrdaoie:2024-02-06 20:00:00 gestartet VMware-Maschine 'test2'
|
snrdaoeisnrdaoie:2024-02-06 20:00:00 gestartet VMware-Maschine 'test2'
|
||||||
|
|
||||||
snrdaoeisnrdaoie:2024-02-06 20:00:00 some harddrive operation
|
snrdaoeisnrdaoie:2024-02-06 20:00:00 some harddrive operation
|
||||||
|
Loading…
Reference in New Issue
Block a user