Previous versions of Juju will have left deprecated
attributes hanging around in the environment. This
upgrader will remove such attributes from env state.
eg default-image-id which is ignored will be put
into env state. This upgrader removes it. Also,
the deprecated attributes are no longer propagated
when a new env config is made.
Affected files (+165, -16 lines):
A [revision details]
M cmd/jujud/machine.go
M cmd/jujud/unit.go
M cmd/jujud/upgrade_test.go
M cmd/logging.go
M cmd/logging_test.go
M provider/openstack/config.go
M provider/openstack/config_test.go
A upgrades/deprecatedattributes.go
A upgrades/deprecatedattributes_test.go
M upgrades/export_test.go
M upgrades/steps118.go
M upgrades/steps118_test.go
M upgrades/systemsshkey_test.go
Reviewers: mp+208986_ code.launchpad. net,
Message:
Please take a look.
Description:
Deprecated attributes upgrader
Previous versions of Juju will have left deprecated
attributes hanging around in the environment. This
upgrader will remove such attributes from env state.
eg default-image-id which is ignored will be put
into env state. This upgrader removes it. Also,
the deprecated attributes are no longer propagated
when a new env config is made.
https:/ /code.launchpad .net/~wallyworl d/juju- core/upgrade- remove- old-config/ +merge/ 208986
Requires: /code.launchpad .net/~axwalk/ juju-core/ upgrade- syslog- port/+merge/ 208724
https:/
(do not edit description out of merge proposal)
Please review this at https:/ /codereview. appspot. com/70230049/
Affected files (+165, -16 lines): machine. go upgrade_ test.go openstack/ config. go openstack/ config_ test.go deprecatedattri butes.go deprecatedattri butes_test. go export_ test.go steps118. go steps118_ test.go systemsshkey_ test.go
A [revision details]
M cmd/jujud/
M cmd/jujud/unit.go
M cmd/jujud/
M cmd/logging.go
M cmd/logging_test.go
M provider/
M provider/
A upgrades/
A upgrades/
M upgrades/
M upgrades/
M upgrades/
M upgrades/