File tree Expand file tree Collapse file tree 1 file changed +4
-7
lines changed Expand file tree Collapse file tree 1 file changed +4
-7
lines changed Original file line number Diff line number Diff line change @@ -12,7 +12,6 @@ import (
12
12
"time"
13
13
14
14
"github.com/stretchr/testify/require"
15
- "github.com/vmware/govmomi"
16
15
"github.com/vmware/govmomi/find"
17
16
"github.com/vmware/govmomi/session"
18
17
"github.com/vmware/govmomi/simulator"
@@ -80,12 +79,10 @@ func TestIntegration(t *testing.T) {
80
79
s := session .NewManager (c )
81
80
newVcenterClient = func (l * zap.Logger , cfg * Config ) * vcenterClient {
82
81
client := & vcenterClient {
83
- logger : l ,
84
- cfg : cfg ,
85
- moClient : & govmomi.Client {
86
- Client : c ,
87
- SessionManager : s ,
88
- },
82
+ logger : l ,
83
+ cfg : cfg ,
84
+ sessionManager : s ,
85
+ vimDriver : c ,
89
86
}
90
87
require .NoError (t , client .EnsureConnection (context .Background ()))
91
88
client .vimDriver = c
You can’t perform that action at this time.
0 commit comments