Descriptioncmd/juju/environ.go: restore 1.16 compat
bug #1253625 is about "juju get-environment" and "juju
set-environment" not being compatible with a 1.16 API server because
Client.EnvironmentGet and Client.EnvironmentSet were not available.
So we fall back to direct DB access.
This replaces 'all' of SetEnvironment.Run because it has virtually no
other local logic. For GetEnvironment.Run we only replace the
EnvironmentGet step. (hence the different names for the functions.)
https://code.launchpad.net/~jameinel/juju-core/1.17-set-get-environment-compat-1253625/+merge/197059
(do not edit description out of merge proposal)
Patch Set 1 #
MessagesTotal messages: 2
|