Description of change
As discussed with , we can simplify a chunk of logic by moving status detection/processing from the worker, closer to state (into the API server).
Included miscellanea:
- Creation of state/machine_upgradeseries.go where upgrade-series state concerns will be moved.
- Removal of the unit-vs-machine entity handling from API server for status querying.
- Update of the logging shim in order to use Infof and Debugf methods.
- Other renamings for clarity.
QA steps
TBC
Documentation changes
None.
Bug reference
N/A
该提问来源于开源项目:juju/juju