PBM govmomi dependencies
This commit is contained in:

committed by
System Administrator

parent
199465c3a5
commit
23ee1745d3
5
vendor/github.com/vmware/govmomi/task/wait.go
generated
vendored
5
vendor/github.com/vmware/govmomi/task/wait.go
generated
vendored
@@ -68,6 +68,11 @@ func (t *taskCallback) fn(pc []types.PropertyChange) bool {
|
||||
t.info = &ti
|
||||
}
|
||||
|
||||
// t.info could be nil if pc can't satify the rules above
|
||||
if t.info == nil {
|
||||
return false
|
||||
}
|
||||
|
||||
pr := taskProgress{t.info}
|
||||
|
||||
// Store copy of error, so Wait() can return it as well.
|
||||
|
Reference in New Issue
Block a user