Skip to content

Commit

Permalink
vsphere: Adapt to govmomi version bumps
Browse files Browse the repository at this point in the history
Signed-off-by: Madhav Jivrajani <madhav.jiv@gmail.com>
  • Loading branch information
MadhavJivrajani committed May 3, 2023
1 parent 3ac7014 commit 40797a1
Showing 1 changed file with 2 additions and 1 deletion.
Expand Up @@ -165,7 +165,8 @@ func configFromSimWithTLS(tlsConfig *tls.Config, insecureAllowed bool) (VSphereC
model.Service.ServeMux.Handle(path, handler)

// vAPI simulator
path, handler = vapi.New(s.URL, vpx.Setting)
paths, handler := vapi.New(s.URL, vpx.Setting)
path = paths[0]
model.Service.ServeMux.Handle(path, handler)

// Lookup Service simulator
Expand Down

0 comments on commit 40797a1

Please sign in to comment.