From: Boris Ranto Date: Tue, 30 Oct 2018 20:42:41 +0000 (+0100) Subject: mgr/restful: Fix deep-scrub typo X-Git-Tag: v14.1.0~988^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F24841%2Fhead;p=ceph.git mgr/restful: Fix deep-scrub typo There is a typo in implemented commands for OSD. It reads deep_scrub instead of deep-scrub which is the true valid command. Fixes: http://tracker.ceph.com/issues/36720 Signed-off-by: Boris Ranto --- diff --git a/src/pybind/mgr/restful/common.py b/src/pybind/mgr/restful/common.py index f9dc943557e6..11b46b840454 100644 --- a/src/pybind/mgr/restful/common.py +++ b/src/pybind/mgr/restful/common.py @@ -6,7 +6,7 @@ OSD_FLAGS = [ # Implemented osd commands OSD_IMPLEMENTED_COMMANDS = [ - 'scrub', 'deep_scrub', 'repair' + 'scrub', 'deep-scrub', 'repair' ] # Valid values for the 'var' argument to 'ceph osd pool set'