summaryrefslogtreecommitdiffstats
path: root/playbooks/libvirt/openshift-cluster/roles
diff options
context:
space:
mode:
authorJose A. Rivera <jarrpa@redhat.com>2017-06-02 13:37:46 -0500
committerJose A. Rivera <jarrpa@redhat.com>2017-06-08 15:12:58 -0500
commit67c082d7f6be9232abc6dafc20c34894edba4a21 (patch)
treec19d0761efb90942caa96dc962b82cc60a51f41f /playbooks/libvirt/openshift-cluster/roles
parenta39fc605318d359533c7dba343f557f7005db17d (diff)
downloadopenshift-67c082d7f6be9232abc6dafc20c34894edba4a21.tar.gz
openshift-67c082d7f6be9232abc6dafc20c34894edba4a21.tar.bz2
openshift-67c082d7f6be9232abc6dafc20c34894edba4a21.tar.xz
openshift-67c082d7f6be9232abc6dafc20c34894edba4a21.zip
lib/base: allow for results parsing on non-zero return code
On an 'oc get' in particular, the command may return a non-zero error code while still having found valid resources. Thus, we should parse the valid output while still reporting the error. oc_obj.get(), for instance, takes care of determining if the return code should be reset to 0 in some error cases. Also do a bit of logic cleanup and output sanitizing. Signed-off-by: Jose A. Rivera <jarrpa@redhat.com>
Diffstat (limited to 'playbooks/libvirt/openshift-cluster/roles')
0 files changed, 0 insertions, 0 deletions