Skip to content

Conversation

@davidjumani
Copy link
Contributor

@davidjumani davidjumani commented Oct 1, 2021

Before :

ts := cloudstack.NewTemplateService(cs)
p := ts.NewListTemplatesParams("all")
r, err := ts.ListTemplates(p)


json: cannot unmarshal array into Go struct field ListTemplatesResponse.template of type string

After :

&{4 [0xc0000b6a00 0xc0000b6c80 0xc0000b6f00 0xc0000b7180]}

Hide the whitespaces in the diff to save yourself

@rohityadavcloud rohityadavcloud merged commit 6ea480b into main Oct 1, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants