Skip to content

Commit f2f3869

Browse files
committed
Sending the process output to the APIObject as a string
1 parent 0024aa3 commit f2f3869

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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)