Actually return body

This commit is contained in:
Joshua Boniface 2020-01-06 10:53:25 -05:00
parent 1113234270
commit 56bc104f19
1 changed files with 1 additions and 2 deletions

View File

@ -2713,12 +2713,11 @@ class API_Storage_Ceph_Pool_Root(Resource):
type: object type: object
id: Message id: Message
""" """
api_helper.ceph_pool_add( return api_helper.ceph_pool_add(
reqargs.get('pool', None), reqargs.get('pool', None),
reqargs.get('pgs', None), reqargs.get('pgs', None),
reqargs.get('replcfg', None) reqargs.get('replcfg', None)
) )
pass
api.add_resource(API_Storage_Ceph_Pool_Root, '/storage/ceph/pool') api.add_resource(API_Storage_Ceph_Pool_Root, '/storage/ceph/pool')
# /storage/ceph/pool/<pool> # /storage/ceph/pool/<pool>