From 56bc104f191dcca86c854bf28b512b4f93f2ea06 Mon Sep 17 00:00:00 2001 From: "Joshua M. Boniface" Date: Mon, 6 Jan 2020 10:53:25 -0500 Subject: [PATCH] Actually return body --- client-api/pvc-api.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/client-api/pvc-api.py b/client-api/pvc-api.py index 2cf1d50b..8aa2218e 100755 --- a/client-api/pvc-api.py +++ b/client-api/pvc-api.py @@ -2713,12 +2713,11 @@ class API_Storage_Ceph_Pool_Root(Resource): type: object id: Message """ - api_helper.ceph_pool_add( + return api_helper.ceph_pool_add( reqargs.get('pool', None), reqargs.get('pgs', None), reqargs.get('replcfg', None) ) - pass api.add_resource(API_Storage_Ceph_Pool_Root, '/storage/ceph/pool') # /storage/ceph/pool/