From ea6070712c85ffaebf56a248859b9cef27d14dda Mon Sep 17 00:00:00 2001 From: Boris Ranto Date: Tue, 30 Oct 2018 21:42:41 +0100 Subject: [PATCH] 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 (cherry picked from commit 0ddc6ab2ca43d53cf3e7c3469a72436be5382501) --- src/pybind/mgr/restful/common.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pybind/mgr/restful/common.py b/src/pybind/mgr/restful/common.py index 83e32fb60a0c6..847156780aa0e 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' -- 2.39.5