suppressed printdebug output
This commit is contained in:
parent
71eeccdd5a
commit
84e409c096
@ -110,13 +110,13 @@ function buildIntervals {
|
||||
)
|
||||
$array = @()
|
||||
foreach ($key in $hash.Keys){
|
||||
Write-Host $key
|
||||
#Write-Host $key
|
||||
$list = $hash.$key
|
||||
Write-Host $list
|
||||
#Write-Host $list
|
||||
$lastState = $null
|
||||
$lastTS = $null
|
||||
foreach ($elem in $list){
|
||||
Write-Host $elem
|
||||
#Write-Host $elem
|
||||
if (($elem.state -eq 'Started') -and ($null -eq $lastState)) {
|
||||
$lastState=$elem.state
|
||||
$lastTS=$elem.ts
|
||||
@ -131,7 +131,7 @@ function buildIntervals {
|
||||
$lastState=$null
|
||||
$lastTS=$null
|
||||
}
|
||||
Write-Host "$array"
|
||||
#Write-Host "$array"
|
||||
}
|
||||
}
|
||||
return $array
|
||||
|
Loading…
Reference in New Issue
Block a user