This commit is contained in:
3
main.go
3
main.go
@@ -54,7 +54,8 @@ func getEvents(eventTypes []string, entities []types.ManagedObjectReference, beg
|
|||||||
if len(entities) > 0 {
|
if len(entities) > 0 {
|
||||||
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