]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
mgr/restful: Fix deep-scrub typo
authorBoris Ranto <branto@redhat.com>
Tue, 30 Oct 2018 20:42:41 +0000 (21:42 +0100)
committerBoris Ranto <branto@redhat.com>
Wed, 7 Nov 2018 11:39:20 +0000 (12:39 +0100)
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 <branto@redhat.com>
src/pybind/mgr/restful/common.py

index f9dc943557e607857fa056158cc1fd4ef95d6525..11b46b840454c2ad20202b39c4fd8f63b90c9054 100644 (file)
@@ -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'