Skip to content
This repository has been archived by the owner on Nov 13, 2019. It is now read-only.

Commit

Permalink
if condition wrong way around
Browse files Browse the repository at this point in the history
  • Loading branch information
sjwoodman committed Jul 26, 2018
1 parent c05ddcc commit c506995
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions ocp_asb_streamings.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@ ROUTING_SUFFIX="${HOSTNAME}"

if [ -z ${1} ];
then
echo "Starting OpenShift host data directory: " + ${1};
oc cluster up --service-catalog=true --routing-suffix=${ROUTING_SUFFIX} --public-hostname=${PUBLIC_IP} --host-data-dir=${1};
else
echo "Starting OpenShift without host data directory";
oc cluster up --service-catalog=true --routing-suffix=${ROUTING_SUFFIX} --public-hostname=${PUBLIC_IP};
else
echo "Starting OpenShift host data directory: " ${1};
oc cluster up --service-catalog=true --routing-suffix=${ROUTING_SUFFIX} --public-hostname=${PUBLIC_IP} --host-data-dir=${1};
fi

#
Expand Down

0 comments on commit c506995

Please sign in to comment.