Descriptionstate/apiserver/common: handle unhashable types
See bug #1217760. Essentially we sometimes get errors that can't be hashed, and
it was causing us to panic() rather than treat the error like we treat all
other unknown errors.
Roger has a different way of handling it using defer and recover.
We have a map which I like, but this map isn't intended to become public or
extensible. So the easy path is to just fold it into the switch.
https://code.launchpad.net/~jameinel/juju-core/unhashable-errors-1217760/+merge/182564
(do not edit description out of merge proposal)
Patch Set 1 #
MessagesTotal messages: 1
|