Skip to content

Commit 4e8606d

Browse files
committed
Using OC_ERR return val for OC failures
1 parent 170a77b commit 4e8606d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

test/run-openshift-remote-cluster

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,11 @@ test_postgresql_imagestream
2020

2121
trap ct_os_cleanup EXIT SIGINT
2222

23-
ct_os_set_ocp4
23+
ct_os_set_ocp4 || exit $OC_ERR
2424

25-
ct_os_check_compulsory_vars
25+
ct_os_check_compulsory_vars || exit $OC_ERR
2626

27-
ct_os_check_login || exit 1
27+
ct_os_check_login || exit $OC_ERR
2828

2929
ct_os_tag_image_for_cvp "postgresql"
3030

0 commit comments

Comments
 (0)