Descriptionjuju/api.go: actually handle error (bug #1312136)
If there is a problem reading the .jenv file, it can return an error,
but we weren't paying attention to it. Instead we would end up getting a
panic() a few lines down when we go to use a *Config that is actually
nil.
This may not be perfect (because I wasn't seeing errors as I would
expect), but it is better than what we have.
https://code.launchpad.net/~jameinel/juju-core/1.18-panic-parsing-jenv-1312136/+merge/217036
(do not edit description out of merge proposal)
Patch Set 1 #Patch Set 2 : juju/api.go: actually handle error (bug #1312136) #
Total comments: 1
Patch Set 3 : juju/api.go: actually handle error (bug #1312136) #Patch Set 4 : juju/api.go: actually handle error (bug #1312136) #
MessagesTotal messages: 7
|