Skip to content

Export templates causes unmarshal object#83

Merged
privateip merged 1 commit intoitential:develfrom
privateip:fix-templates
Mar 22, 2025
Merged

Export templates causes unmarshal object#83
privateip merged 1 commit intoitential:develfrom
privateip:fix-templates

Conversation

@privateip
Copy link
Member

When running either describe template .. or export template ... command, the application will return an error cannot unmarshal object into Go struct field Template.tags of type string. This situation only occures when a template assethas one or more tags associated with the document.

This change will fix the underlying issue to handle unmarshaling a response with associated tags.

fixes #82

When running either `describe template ..` or `export template ...`
command, the application will return an error `cannot unmarshal object
into Go struct field Template.tags of type string`.  This situation only
occures when a template assethas one or more tags associated with the
document.

This change will fix the underlying issue to handle unmarshaling a
response with associated tags.

fixes #82
@privateip privateip merged commit c03f89d into itential:devel Mar 22, 2025
1 check passed
@privateip privateip deleted the fix-templates branch March 22, 2025 12:39
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.

Error when trying to export Template - cannot unmarshal object into Go struct field Template.tags of type string

1 participant