File tree 7 files changed +11
-11
lines changed
7 files changed +11
-11
lines changed Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ require (
12
12
// The version of vm-operator should be kept in sync with the manifests at: config/deployments/integration-tests
13
13
github.com/vmware-tanzu/vm-operator/api v1.8.6
14
14
github.com/vmware-tanzu/vm-operator/external/ncp v0.0.0-20240404200847-de75746a9505
15
- github.com/vmware/govmomi v0.48.1
15
+ github.com/vmware/govmomi v0.49.0
16
16
)
17
17
18
18
require (
Original file line number Diff line number Diff line change @@ -245,8 +245,8 @@ github.com/vmware-tanzu/vm-operator/api v1.8.6 h1:NIndORjcnSmIlQsCMIewpIwg/ocRVD
245
245
github.com/vmware-tanzu/vm-operator/api v1.8.6 /go.mod h1:HHA2SNI9B5Yqtyp5t+Gt9WTWBi/fIkM6+MukDDSf11A =
246
246
github.com/vmware-tanzu/vm-operator/external/ncp v0.0.0-20240404200847-de75746a9505 h1:y4wXx1FUFqqSgJ/xUOEM1DLS2Uu0KaeLADWpzpioGTU =
247
247
github.com/vmware-tanzu/vm-operator/external/ncp v0.0.0-20240404200847-de75746a9505 /go.mod h1:5rqRJ9zGR+KnKbkGx373WgN8xJpvAj99kHnfoDYRO5I =
248
- github.com/vmware/govmomi v0.48.1 h1:aAjmoFzSShYA9ED66JaOJzSBvukvrQLYZljZL+pgfKQ =
249
- github.com/vmware/govmomi v0.48.1 /go.mod h1:UFM2aCkggPToQf8TqY3xfd9bOX58vbVa+UAK1JdDTNM =
248
+ github.com/vmware/govmomi v0.49.0 h1:M80ExmFq3kOfeMvMJcHnXgA/4w5hUAFfYfc+Qm3lmPg =
249
+ github.com/vmware/govmomi v0.49.0 /go.mod h1:+oZ0tYJw/pXKoeWHLR9Egq5KENVr2hLePRzisFhEWpA =
250
250
github.com/x448/float16 v0.8.4 h1:qLwI1I70+NjRFUR3zs1JPUCgaCXSh3SW62uAKT1mSBM =
251
251
github.com/x448/float16 v0.8.4 /go.mod h1:14CWIYCyZA/cWjXOioeEpHeN/83MdbZDRQHoFcYsOfg =
252
252
github.com/xiang90/probing v0.0.0-20221125231312-a49e3df8f510 h1:S2dVYn90KE98chqDkyE9Z4N61UnQd+KOfgp5Iu53llk =
Original file line number Diff line number Diff line change @@ -134,8 +134,8 @@ github.com/vmware-tanzu/vm-operator/api v1.8.6 h1:NIndORjcnSmIlQsCMIewpIwg/ocRVD
134
134
github.com/vmware-tanzu/vm-operator/api v1.8.6 /go.mod h1:HHA2SNI9B5Yqtyp5t+Gt9WTWBi/fIkM6+MukDDSf11A =
135
135
github.com/vmware-tanzu/vm-operator/external/ncp v0.0.0-20240404200847-de75746a9505 h1:y4wXx1FUFqqSgJ/xUOEM1DLS2Uu0KaeLADWpzpioGTU =
136
136
github.com/vmware-tanzu/vm-operator/external/ncp v0.0.0-20240404200847-de75746a9505 /go.mod h1:5rqRJ9zGR+KnKbkGx373WgN8xJpvAj99kHnfoDYRO5I =
137
- github.com/vmware/govmomi v0.48.1 h1:aAjmoFzSShYA9ED66JaOJzSBvukvrQLYZljZL+pgfKQ =
138
- github.com/vmware/govmomi v0.48.1 /go.mod h1:UFM2aCkggPToQf8TqY3xfd9bOX58vbVa+UAK1JdDTNM =
137
+ github.com/vmware/govmomi v0.49.0 h1:M80ExmFq3kOfeMvMJcHnXgA/4w5hUAFfYfc+Qm3lmPg =
138
+ github.com/vmware/govmomi v0.49.0 /go.mod h1:+oZ0tYJw/pXKoeWHLR9Egq5KENVr2hLePRzisFhEWpA =
139
139
github.com/x448/float16 v0.8.4 h1:qLwI1I70+NjRFUR3zs1JPUCgaCXSh3SW62uAKT1mSBM =
140
140
github.com/x448/float16 v0.8.4 /go.mod h1:14CWIYCyZA/cWjXOioeEpHeN/83MdbZDRQHoFcYsOfg =
141
141
github.com/xlab/treeprint v1.2.0 h1:HzHnuAF1plUN2zGlAFHbSQP2qJ0ZAD3XF5XD7OesXRQ =
Original file line number Diff line number Diff line change @@ -43,7 +43,7 @@ func TestCreate(t *testing.T) {
43
43
t .Fatalf ("unable to create simulator: %s" , err )
44
44
}
45
45
defer simr .Destroy ()
46
- vmRef := simulator .Map .Any ("VirtualMachine" )
46
+ vmRef := model .Map () .Any ("VirtualMachine" )
47
47
vm , ok := vmRef .(* simulator.VirtualMachine )
48
48
if ! ok {
49
49
t .Fatal ("failed to get reference to an existing VM on the vcsim instance" )
Original file line number Diff line number Diff line change @@ -39,7 +39,7 @@ func TestGetDiskSpec(t *testing.T) {
39
39
model , session , server := initSimulator (t )
40
40
t .Cleanup (model .Remove )
41
41
t .Cleanup (server .Close )
42
- vm := simulator .Map .Any ("VirtualMachine" ).(* simulator.VirtualMachine )
42
+ vm := model .Map () .Any ("VirtualMachine" ).(* simulator.VirtualMachine )
43
43
machine := object .NewVirtualMachine (session .Client .Client , vm .Reference ())
44
44
45
45
devices , err := machine .Device (ctx .TODO ())
@@ -157,7 +157,7 @@ func TestCreateDataDisks(t *testing.T) {
157
157
model , session , server := initSimulator (t )
158
158
t .Cleanup (model .Remove )
159
159
t .Cleanup (server .Close )
160
- vm := simulator .Map .Any ("VirtualMachine" ).(* simulator.VirtualMachine )
160
+ vm := model .Map () .Any ("VirtualMachine" ).(* simulator.VirtualMachine )
161
161
machine := object .NewVirtualMachine (session .Client .Client , vm .Reference ())
162
162
163
163
deviceList , err := machine .Device (ctx .TODO ())
Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ require (
14
14
github.com/vmware-tanzu/net-operator-api v0.0.0-20240326163340-1f32d6bf7f9d
15
15
// The version of vm-operator should be kept in sync with the manifests at: config/deployments/integration-tests
16
16
github.com/vmware-tanzu/vm-operator/api v1.8.6
17
- github.com/vmware/govmomi v0.48.1
17
+ github.com/vmware/govmomi v0.49.0
18
18
)
19
19
20
20
require (
Original file line number Diff line number Diff line change @@ -329,8 +329,8 @@ github.com/vmware-tanzu/vm-operator/api v1.8.6 h1:NIndORjcnSmIlQsCMIewpIwg/ocRVD
329
329
github.com/vmware-tanzu/vm-operator/api v1.8.6 /go.mod h1:HHA2SNI9B5Yqtyp5t+Gt9WTWBi/fIkM6+MukDDSf11A =
330
330
github.com/vmware-tanzu/vm-operator/external/ncp v0.0.0-20240404200847-de75746a9505 h1:y4wXx1FUFqqSgJ/xUOEM1DLS2Uu0KaeLADWpzpioGTU =
331
331
github.com/vmware-tanzu/vm-operator/external/ncp v0.0.0-20240404200847-de75746a9505 /go.mod h1:5rqRJ9zGR+KnKbkGx373WgN8xJpvAj99kHnfoDYRO5I =
332
- github.com/vmware/govmomi v0.48.1 h1:aAjmoFzSShYA9ED66JaOJzSBvukvrQLYZljZL+pgfKQ =
333
- github.com/vmware/govmomi v0.48.1 /go.mod h1:UFM2aCkggPToQf8TqY3xfd9bOX58vbVa+UAK1JdDTNM =
332
+ github.com/vmware/govmomi v0.49.0 h1:M80ExmFq3kOfeMvMJcHnXgA/4w5hUAFfYfc+Qm3lmPg =
333
+ github.com/vmware/govmomi v0.49.0 /go.mod h1:+oZ0tYJw/pXKoeWHLR9Egq5KENVr2hLePRzisFhEWpA =
334
334
github.com/x448/float16 v0.8.4 h1:qLwI1I70+NjRFUR3zs1JPUCgaCXSh3SW62uAKT1mSBM =
335
335
github.com/x448/float16 v0.8.4 /go.mod h1:14CWIYCyZA/cWjXOioeEpHeN/83MdbZDRQHoFcYsOfg =
336
336
github.com/xiang90/probing v0.0.0-20221125231312-a49e3df8f510 h1:S2dVYn90KE98chqDkyE9Z4N61UnQd+KOfgp5Iu53llk =
You can’t perform that action at this time.
0 commit comments