]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mgr/rbd_support: "trash remove" takes image_id_spec, not image_spec
authorIlya Dryomov <idryomov@gmail.com>
Fri, 28 Jan 2022 22:01:08 +0000 (23:01 +0100)
committerIlya Dryomov <idryomov@gmail.com>
Sun, 6 Feb 2022 20:31:08 +0000 (21:31 +0100)
commit268965289d9cc5c974e038c3826bad935bd3ed1e
treef46ce75c55095a61d16fd5b4dd1f996dbaca46a6
parenta94e94ded2f1883c7871427d720d9cb6269dc9df
mgr/rbd_support: "trash remove" takes image_id_spec, not image_spec

Because of @CLIWriteCommand, the parameter name has to adhere to
the mon command API.  Commit dcb51b067a49 ("mgr/rbd_support: define
commands using CLICommand") accidentally changed image_id_spec to
image_spec, breaking external users such as go-ceph.

Fixes: https://tracker.ceph.com/issues/54057
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
(cherry picked from commit 2f5faabf4258ec37984f871f46fee73e630c8a33)
src/pybind/mgr/rbd_support/module.py