Difference between revisions of "Cannot unmarshal XXXXX into Go struct field"
Jump to navigation
Jump to search
Line 7: | Line 7: | ||
+ | <code>[[Cannot unmarshal object into Go value of type]] jsonpatch.Patch</code> | ||
− | + | <code>[[Cannot unmarshal number into Go struct field]] ObjectMeta.metadata.labels [[of type string]]</code> | |
− | |||
− | |||
== Related == | == Related == |
Revision as of 07:12, 8 March 2023
Cannot unmarshal string into Go struct field Container.spec.template.spec.containers.env of type
Error: ECS Task Definition container_definitions is invalid: Error decoding JSON: json: cannot unmarshal number into Go struct field KeyValuePair.Environment.Value of type string Solution: review if your variable definition needs to be changed from number to string
Cannot unmarshal object into Go value of type jsonpatch.Patch
Cannot unmarshal number into Go struct field ObjectMeta.metadata.labels of type string
Related
See also
Advertising: