openshift-evangelists / oc-cluster-wrapper

oc cluster up bash wrapper
Apache License 2.0
144 stars 72 forks source link

fixes #11, status returns 0 on success. Fixed code to handle the change and cleaned it up a little #16

Closed bjartek closed 7 years ago

bjartek commented 7 years ago

I took the liberty of refactoring status into guards that exit as well.

Personally i like shallow code, that is not many nesting levels and feels that this way of using guards and error_exit in bash is very clean in that regard.

jorgemoralespou commented 7 years ago

Merged manually