From 6874ead37e24ac53292afc516b2dea3ae79bf40d Mon Sep 17 00:00:00 2001 From: Nathan Coad Date: Thu, 15 Jun 2023 12:35:14 +1000 Subject: [PATCH] add vcenter to host failure list --- main.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/main.go b/main.go index 0804b87..fec1865 100644 --- a/main.go +++ b/main.go @@ -38,6 +38,7 @@ type HostFailureResults struct { HostName string FailureTime time.Time Cluster string + Vcenter string } var ( @@ -399,6 +400,7 @@ func main() { HostName: hostEvent.Host.Name, FailureTime: hostEvent.CreatedTime.In(location), Cluster: hostEvent.ComputeResource.Name, + Vcenter: u.Host, }) } }