update events table when event processed
This commit is contained in:
@@ -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")
|
||||
|
Reference in New Issue
Block a user