@@ -30,10 +30,14 @@ import (
30
30
_ "github.com/dougm/pretty" // NOTE: this is required to add commands vm.* to cli.Run
31
31
"github.com/pkg/errors"
32
32
"github.com/vmware/govmomi/govc/cli"
33
- _ "github.com/vmware/govmomi/govc/vm" // NOTE: this is required to add commands vm.* to cli.Run
33
+ _ "github.com/vmware/govmomi/govc/tags" // NOTE: this is required to add commands tags.* to cli.Run
34
+ _ "github.com/vmware/govmomi/govc/tags/association" // NOTE: this is required to add commands tags.attach.* to cli.Run
35
+ _ "github.com/vmware/govmomi/govc/tags/category" // NOTE: this is required to add commands tags.category.* to cli.Run
36
+ _ "github.com/vmware/govmomi/govc/vm" // NOTE: this is required to add commands vm.* to cli.Run
34
37
pbmsimulator "github.com/vmware/govmomi/pbm/simulator"
35
38
"github.com/vmware/govmomi/simulator"
36
39
_ "github.com/vmware/govmomi/vapi/simulator" // NOTE: this is required to content library & other vapi methods to the simulator
40
+ _ "github.com/vmware/govmomi/vapi/tags"
37
41
corev1 "k8s.io/api/core/v1"
38
42
apierrors "k8s.io/apimachinery/pkg/api/errors"
39
43
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
@@ -278,7 +282,7 @@ func createGovmomiFailureDomainTags(vCenterSimulator *vcsimv1.VCenterSimulator)
278
282
}
279
283
280
284
for _ , command := range commands {
281
- fmt .Printf ("Running command: %s" , strings .Join (command , " " ))
285
+ fmt .Printf ("Running command: %s\n " , strings .Join (command , " " ))
282
286
exit := cli .Run (command )
283
287
if exit != 0 {
284
288
return fmt .Errorf ("failed to run command: %s" , strings .Join (command , " " ))
0 commit comments