From 77f42d10569d85e81e2537b650257306a801d790 Mon Sep 17 00:00:00 2001 From: Madhuri Kumari Date: Thu, 16 Apr 2015 11:42:54 +0900 Subject: [PATCH] Add return response in some of Kubernetes APIs. Currently the swagger generated code doesn't have return responses for some of the APIs. So this patch adds the same in below listed APIs: 1. createPod 2. replacePod 3. createReplicationController 4. replaceReplicationController 5. createService 6. replaceService Closes-bug:#1444867 Partially-Implements: blueprint python-k8sclient Change-Id: I7a080fe8cd3fdea6ed2a8db9652034974ed90098 --- magnum/common/pythonk8sclient/client/ApivbetaApi.py | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/magnum/common/pythonk8sclient/client/ApivbetaApi.py b/magnum/common/pythonk8sclient/client/ApivbetaApi.py index 4e6f6ee..5ca0262 100644 --- a/magnum/common/pythonk8sclient/client/ApivbetaApi.py +++ b/magnum/common/pythonk8sclient/client/ApivbetaApi.py @@ -2410,6 +2410,8 @@ class ApivbetaApi(object): response = self.apiClient.callAPI(resourcePath, method, queryParams, postData, headerParams, files=files) + return response + @@ -2558,6 +2560,8 @@ class ApivbetaApi(object): response = self.apiClient.callAPI(resourcePath, method, queryParams, postData, headerParams, files=files) + return response + @@ -3082,6 +3086,8 @@ class ApivbetaApi(object): response = self.apiClient.callAPI(resourcePath, method, queryParams, postData, headerParams, files=files) + return response + @@ -3230,6 +3236,8 @@ class ApivbetaApi(object): response = self.apiClient.callAPI(resourcePath, method, queryParams, postData, headerParams, files=files) + return response + @@ -4500,6 +4508,8 @@ class ApivbetaApi(object): response = self.apiClient.callAPI(resourcePath, method, queryParams, postData, headerParams, files=files) + return response + @@ -4648,6 +4658,8 @@ class ApivbetaApi(object): response = self.apiClient.callAPI(resourcePath, method, queryParams, postData, headerParams, files=files) + return response +