update events table when event processed

This commit is contained in:
2024-09-13 15:01:35 +10:00
parent c2d6c40501
commit 2a3042ea3f

View File

@@ -82,7 +82,7 @@ func (v *Vcenter) Login(vUrl string) error {
}
func (v *Vcenter) Logout() error {
v.Logger.Debug("vcenter logging out")
//v.Logger.Debug("vcenter logging out")
if v.ctx == nil {
v.Logger.Warn("Nil context, unable to logout")
@@ -90,7 +90,7 @@ func (v *Vcenter) Logout() error {
}
if v.client.Valid() {
v.Logger.Debug("vcenter client is valid. Logging out")
//v.Logger.Debug("vcenter client is valid. Logging out")
return v.client.Logout(v.ctx)
} else {
v.Logger.Debug("vcenter client is not valid")