Skip to content

Commit d1ceabc

Browse files
Merge pull request #67 from psolarvi/hotfix/template-processing
Sending the process output to the APIObject as a string
2 parents 45ae266 + 1ec4111 commit d1ceabc

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

ansible/rebuild_module.digest

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
a06864db406247ccbde152f8585ef916 -
1+
9e3a2032926346b3a612b88a2b31945a -

ansible/roles/openshift_client_python/library/openshift_client_python.py

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/openshift/apiobject.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -716,7 +716,7 @@ def process(self, parameters=None, cmd_args=None):
716716
r = Result("process")
717717
r.add_action(oc_action(self.context, "process", cmd_args=["-f", "-", base_args, cmd_args], stdin_obj=template))
718718
r.fail_if("Error processing template")
719-
return APIObject(r.out()).elements()
719+
return APIObject(string_to_model=r.out()).elements()
720720

721721
def do_i_own(self, apiobj):
722722

0 commit comments

Comments
 (0)