agent-version values different from API schema
Bug #2025108 reported by
Huw Wilkins
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Canonical Juju |
Triaged
|
Wishlist
|
Unassigned |
Bug Description
Everywhere that the agent-version attribute is defined in the schema.json it is defined as a Number object but the API returns a string.
This is the same in 2.9 and 3.x.
Changed in juju: | |
status: | New → Won't Fix |
status: | Won't Fix → New |
Changed in juju: | |
status: | New → Triaged |
importance: | Undecided → Medium |
To post a comment you must log in.
So this has a custom MarshalJSON handler unfortunately https:/ /github. com/juju/ version/ blob/377ed87d3b 6cf452e60b7fc90 4386b53cc8eedff /version. go#L329