Skip to content

Commit

Permalink
correct naming of objects
Browse files Browse the repository at this point in the history
  • Loading branch information
Schnitzel committed Dec 31, 2018
1 parent c54a97a commit 783af5b
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/bash

if oc --insecure-skip-tls-verify -n ${OPENSHIFT_PROJECT} get servicebroker "${SERVICE_NAME}" &> /dev/null; then
echo "ServiceBroker ${SERVICE_NAME} already existing, not attempting to update"
if oc --insecure-skip-tls-verify -n ${OPENSHIFT_PROJECT} get ServiceInstance "${SERVICE_NAME}" &> /dev/null; then
echo "ServiceInstance ${SERVICE_NAME} already existing, not attempting to update"
else
oc process --local -o yaml --insecure-skip-tls-verify \
-n ${OPENSHIFT_PROJECT} \
Expand Down

0 comments on commit 783af5b

Please sign in to comment.