Skip to content

Commit 482b648

Browse files
committed
fix
1 parent 7dd71ab commit 482b648

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

test/infrastructure/vcsim/controllers/vcsim_controller.go

+6-2
Original file line numberDiff line numberDiff line change
@@ -30,10 +30,14 @@ import (
3030
_ "github.com/dougm/pretty" // NOTE: this is required to add commands vm.* to cli.Run
3131
"github.com/pkg/errors"
3232
"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
3437
pbmsimulator "github.com/vmware/govmomi/pbm/simulator"
3538
"github.com/vmware/govmomi/simulator"
3639
_ "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"
3741
corev1 "k8s.io/api/core/v1"
3842
apierrors "k8s.io/apimachinery/pkg/api/errors"
3943
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
@@ -278,7 +282,7 @@ func createGovmomiFailureDomainTags(vCenterSimulator *vcsimv1.VCenterSimulator)
278282
}
279283

280284
for _, command := range commands {
281-
fmt.Printf("Running command: %s", strings.Join(command, " "))
285+
fmt.Printf("Running command: %s\n", strings.Join(command, " "))
282286
exit := cli.Run(command)
283287
if exit != 0 {
284288
return fmt.Errorf("failed to run command: %s", strings.Join(command, " "))

0 commit comments

Comments
 (0)