mirror of
https://github.com/openshift/community.okd.git
synced 2026-03-26 19:03:14 +00:00
openshift_process fails with template does not contains message (#87)
* fix unexpected value * changelog * Update pod-template.yaml * Update openshift_process.py * Update openshift_process.py * Update molecule/default/tasks/openshift_process.yml Co-authored-by: Fabian von Feilitzsch <fabian@fabianism.us> * Update pod-template.yaml Co-authored-by: Fabian von Feilitzsch <fabian@fabianism.us>
This commit is contained in:
@@ -330,8 +330,9 @@ class OpenShiftProcess(K8sAnsibleMixin):
|
||||
except Exception as exc:
|
||||
self.module.fail_json(msg="Server failed to render the Template: {0}".format(to_native(exc)),
|
||||
error='', status='', reason='')
|
||||
|
||||
result['message'] = response['message']
|
||||
result['message'] = ""
|
||||
if "message" in response:
|
||||
result['message'] = response['message']
|
||||
result['resources'] = response['objects']
|
||||
|
||||
if state != 'rendered':
|
||||
|
||||
Reference in New Issue
Block a user