]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
pybind/mgr: start a new object_format.py for general formatting
authorJohn Mulligan <jmulligan@redhat.com>
Mon, 14 Mar 2022 15:29:50 +0000 (11:29 -0400)
committerAdam King <adking@redhat.com>
Sat, 21 May 2022 23:20:30 +0000 (19:20 -0400)
commit66219713df0c33dda1f09edbd2dae1ab6e78d7dc
tree09d8568dda706c501e50d7021ce7fdad612c4963
parent0a836885674172852fc20e4e29972785bd6c56f8
pybind/mgr: start a new object_format.py for general formatting

Currently, there's some auto-formatting logic in the orchestrator
module and a lot of ad-hoc formatting scattered around the mgr modules.
This new module aims to bring some of that together in a central
location.
Start by moving the Format enum from the orchestrator.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
(cherry picked from commit 006c33895f4b7559219821bcfafbe82e789e9e41)
src/pybind/mgr/object_format.py [new file with mode: 0644]
src/pybind/mgr/orchestrator/module.py