Fix bad calls in pool element

This commit is contained in:
Joshua Boniface 2021-02-17 11:14:50 -05:00
parent 0e4bece441
commit dd87951642
1 changed files with 2 additions and 2 deletions

View File

@ -3467,7 +3467,7 @@ class API_Storage_Ceph_Pool_Element(Resource):
type: object
id: Message
"""
return api_helper, api_helper.ceph_pool_list(
return api_helper.ceph_pool_list(
pool,
is_fuzzy=False
)
@ -3511,7 +3511,7 @@ class API_Storage_Ceph_Pool_Element(Resource):
type: object
id: Message
"""
api_helper.ceph_pool_add(
return api_helper.ceph_pool_add(
pool,
reqargs.get('pgs', None),
reqargs.get('replcfg', None)