This commit is contained in:
1
main.go
1
main.go
@@ -55,6 +55,7 @@ func getEvents(eventTypes []string, entities []types.ManagedObjectReference, beg
|
|||||||
fmt.Printf("getEvents setting entity '%v' to filter\n", entities[0])
|
fmt.Printf("getEvents setting entity '%v' to filter\n", entities[0])
|
||||||
filter.Entity = &types.EventFilterSpecByEntity{
|
filter.Entity = &types.EventFilterSpecByEntity{
|
||||||
Entity: entities[0],
|
Entity: entities[0],
|
||||||
|
Recursion: types.EventFilterSpecRecursionOptionAll,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if end != 0 {
|
if end != 0 {
|
||||||
|
Reference in New Issue
Block a user