]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
restful: Set the value of the argument
authorBoris Ranto <branto@redhat.com>
Tue, 31 Oct 2017 11:31:10 +0000 (12:31 +0100)
committerKefu Chai <kchai@redhat.com>
Tue, 8 May 2018 05:10:59 +0000 (13:10 +0800)
Previously, we forgot to set the value of the argument for the second
group of pool variables.

Signed-off-by: Boris Ranto <branto@redhat.com>
(cherry picked from commit 64ac3af77e0e6c81b842f72678829a15e1a60087)

src/pybind/mgr/restful/common.py

index dc8b39b6e6e3c4dec4363f47810d254efbec8f6c..18ef18baf7a96c9b104c2fad89456fcaf0430120 100644 (file)
@@ -86,6 +86,7 @@ def pool_update_commands(pool_name, args):
                 'prefix': 'osd pool set',
                 'pool': pool_name,
                 'var': var,
+                'val': args[var],
             })
 
     return commands