Skip to content
Discussion options

You must be logged in to vote

I haven't used the vsan API much myself, but looks like generated code just needs to use interface type for that field. The vsan package needs updating in general, patch below in the meantime.

diff --git a/govc/vsan/info.go b/govc/vsan/info.go
index 7d3438d4..3840ca08 100644
--- a/govc/vsan/info.go
+++ b/govc/vsan/info.go
@@ -26,6 +26,7 @@ import (
 
 	"github.com/vmware/govmomi/govc/cli"
 	"github.com/vmware/govmomi/govc/flags"
+	vim "github.com/vmware/govmomi/vim25/types"
 	"github.com/vmware/govmomi/vsan"
 	"github.com/vmware/govmomi/vsan/types"
 )
@@ -118,6 +119,11 @@ func (r *infoResult) Write(w io.Writer) error {
 		}
 
 		fmt.Fprintf(tw, "  Unmap Enabled:\t%t\n", unmapEnabled)
+
+	…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by tenthirtyam
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants