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
This commit is contained in:
parent
8adf61ea90
commit
77f42d1056
@ -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
|
||||
|
||||
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user