Descriptionprovider/local: fall back to os/user if $USER=""
If $USER is unset/empty, then fall back to os/user.
If that fails, then return an error.
Fixes lp:1274780
https://code.launchpad.net/~axwalk/juju-core/lp1274780-osuser-fallback/+merge/204173
Requires: https://code.launchpad.net/~axwalk/juju-core/local-provider-testability/+merge/204169
(do not edit description out of merge proposal)
Patch Set 1 #
Total comments: 4
MessagesTotal messages: 6
|