vsphere: adapt to govmomi bump

Signed-off-by: Madhav Jivrajani <madhav.jiv@gmail.com>
This commit is contained in:
Madhav Jivrajani 2023-09-19 14:11:05 +05:30
parent fc6b19a4ba
commit 5c28fd2847

View File

@ -165,7 +165,7 @@ func configFromSimWithTLS(tlsConfig *tls.Config, insecureAllowed bool) (VSphereC
model.Service.ServeMux.Handle(path, handler)
// vAPI simulator
paths, handler := vapi.New(s.URL, vpx.Setting)
paths, handler := vapi.New(s.URL, simulator.Map)
path = paths[0]
model.Service.ServeMux.Handle(path, handler)