diff --git a/test/infrastructure/vcsim/controllers/vcsim_controller.go b/test/infrastructure/vcsim/controllers/vcsim_controller.go index 000f28d960..3fea49e384 100644 --- a/test/infrastructure/vcsim/controllers/vcsim_controller.go +++ b/test/infrastructure/vcsim/controllers/vcsim_controller.go @@ -30,10 +30,14 @@ import ( _ "github.com/dougm/pretty" // NOTE: this is required to add commands vm.* to cli.Run "github.com/pkg/errors" "github.com/vmware/govmomi/govc/cli" - _ "github.com/vmware/govmomi/govc/vm" // NOTE: this is required to add commands vm.* to cli.Run + _ "github.com/vmware/govmomi/govc/tags" // NOTE: this is required to add commands tags.* to cli.Run + _ "github.com/vmware/govmomi/govc/tags/association" // NOTE: this is required to add commands tags.attach.* to cli.Run + _ "github.com/vmware/govmomi/govc/tags/category" // NOTE: this is required to add commands tags.category.* to cli.Run + _ "github.com/vmware/govmomi/govc/vm" // NOTE: this is required to add commands vm.* to cli.Run pbmsimulator "github.com/vmware/govmomi/pbm/simulator" "github.com/vmware/govmomi/simulator" _ "github.com/vmware/govmomi/vapi/simulator" // NOTE: this is required to content library & other vapi methods to the simulator + _ "github.com/vmware/govmomi/vapi/tags" corev1 "k8s.io/api/core/v1" apierrors "k8s.io/apimachinery/pkg/api/errors" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" @@ -278,7 +282,7 @@ func createGovmomiFailureDomainTags(vCenterSimulator *vcsimv1.VCenterSimulator) } for _, command := range commands { - fmt.Printf("Running command: %s", strings.Join(command, " ")) + fmt.Printf("Running command: %s\n", strings.Join(command, " ")) exit := cli.Run(command) if exit != 0 { return fmt.Errorf("failed to run command: %s", strings.Join(command, " "))