]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
pybing/mgr/mgr_module: allow keyword arguments
authorJan Fajerski <jfajerski@suse.com>
Thu, 16 Apr 2020 09:49:31 +0000 (11:49 +0200)
committerJan Fajerski <jfajerski@suse.com>
Thu, 27 Aug 2020 13:55:45 +0000 (15:55 +0200)
commitee9dea6cbf9879208ca88786e7f3a944d479e9ed
tree1a57d08b918520ca6586aa2c7dbd739f73de4de0
parentf5db6395129a1f15ab47556996740034ca20e26d
pybing/mgr/mgr_module: allow keyword arguments

If a mgr module encounters an argument values containing a '=' parsing
switches to kwargs style parsing independent of arg position. If a
non-kw argument is encountered after the first kw argument an EINVAL
error is returned.

Signed-off-by: Jan Fajerski <jfajerski@suse.com>
src/pybind/mgr/mgr_module.py