You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When trying to use the client to query for a list of VMs, marshaling fails due to a series of fields missing from the object struct (example code at bottom):
$ go run main.go
panic: json: unknown field "annotations"
When trying to use the client to query for a list of VMs, marshaling fails due to a series of fields missing from the object struct (example code at bottom):
$ go run main.go panic: json: unknown field "annotations"
Generated object (missing fields): https://github.com/drewmullen/harvester-go-sdk/blob/main/model_k8s_io_v1_object_meta.go#L21-L26
swagger spec (missing fields): https://github.com/harvester/harvester/blob/master/api/openapi-spec/swagger.json#L10547-L10555
should have many other fields, such as
annotations
(complete field list): https://github.com/harvester/harvester/blob/master/vendor/k8s.io/apimachinery/pkg/apis/meta/v1/types.go#L111-L272The text was updated successfully, but these errors were encountered: