Descriptioncmd/juju/constraints.go: restore 1.16 compat
part of bug #1253633
Restore the ability to set/get environment constraints against a 1.16
server when Client.GetEnvironmentConstraints and
Client.SetEnvironmentConstraints were not implemented.
Same as the other implementations, try the API, if it fails fall back
to the old DB code. We don't have to fallback for the entire logic,
because only the Environment APIs weren't avaliable.
https://code.launchpad.net/~jameinel/juju-core/1.17-set-get-constraints-compat-1253633/+merge/197052
(do not edit description out of merge proposal)
Patch Set 1 #
MessagesTotal messages: 2
|