Added visual clue for debugging
Minor error fixing
This commit is contained in:
parent
259394214e
commit
8c19676906
@ -31,6 +31,7 @@ class VirtualizationServer {
|
||||
}
|
||||
|
||||
load_hosts(){
|
||||
[String]::Format("Loading VM from: {0}",$this.url) | Write-Debug
|
||||
$this.__host_list=@()
|
||||
$this.__load_hosts()
|
||||
}
|
||||
@ -102,7 +103,7 @@ class VirtualizerManager{
|
||||
[String]::Format("{0}",$Error[0]) | Write-Debug
|
||||
}
|
||||
finally {
|
||||
$message = [string]::Format(">>`tStatus {0}",@("NotOK","OK"))
|
||||
$message = [string]::Format(">>`tStatus {0}",@("NotOK","OK")[$result])
|
||||
Write-Host $message
|
||||
}
|
||||
return $result
|
||||
|
Loading…
x
Reference in New Issue
Block a user