Missing error check results in panic - apiserver
Bug #1881242 reported by
Tim Penhey
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Canonical Juju |
Fix Released
|
High
|
Yang Kelvin Liu |
Bug Description
apiserver/
(*UniterAPI)
node, err = relUnit.Settings()
// XXX: missing error check here, dereferencing node causes panic.
settings = node.Map()
This occurred due to another bug (that is being filed), somehow we ended up with a relation that was in scope but missing settings document.
Changed in juju: | |
status: | Triaged → In Progress |
assignee: | nobody → Yang Kelvin Liu (kelvin.liu) |
Changed in juju: | |
status: | In Progress → Fix Committed |
Changed in juju: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
https:/ /github. com/juju/ juju/pull/ 11695 will be landed to 2.7 to fix this issue.