Skip to content

Commit

Permalink
fix(hatchery/vsphere): init endpoint
Browse files Browse the repository at this point in the history
close #5281

initial commit c389564

Signed-off-by: Yvonnick Esnault <[email protected]>
  • Loading branch information
yesnault committed Jun 28, 2020
1 parent e0842e5 commit 5d84cb9
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions engine/hatchery/vsphere/init.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,11 @@ import (

// InitHatchery create new client for vsphere
func (h *HatcheryVSphere) InitHatchery(ctx context.Context) error {

h.user = h.Config.VSphereUser
h.password = h.Config.VSpherePassword
h.endpoint = h.Config.VSphereEndpoint

// Connect and login to ESX or vCenter
c, errNc := h.newClient(ctx)
if errNc != nil {
Expand Down

0 comments on commit 5d84cb9

Please sign in to comment.