Skip to content

Commit

Permalink
Cherry pick: Do not force logout on validation failure (#7101) (#7106)
Browse files Browse the repository at this point in the history
  • Loading branch information
mhagen-vmware authored Jan 17, 2018
1 parent fe07a98 commit 6da0da9
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions lib/vicadmin/validate.go
Original file line number Diff line number Diff line change
Expand Up @@ -250,11 +250,6 @@ func NewValidator(ctx context.Context, vch *config.VirtualContainerHostConfigSpe
log.Errorf("Had a problem querying the datastores: %s", err.Error())
}
v.QueryVCHStatus(vch, sess)
defer func() {
if sess != nil && len(nwErrors) > 0 {
sess.Logout(ctx)
}
}()
return v
}

Expand Down

0 comments on commit 6da0da9

Please sign in to comment.