Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions hack/run_with_local_webhook.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,13 @@ set -ex
cleanup() {
echo "Caught signal, cleaning up local webhooks..."
./hack/clean_local_webhook.sh
# Remind the user how to restore the CSV since the earlier message
# may have scrolled off the terminal.
if [ -n "${CSV_FILE}" ]; then
printf \
"\n\tThe original OLM version of the operator's CSV has been copied to %s. To restore it, use:
oc patch -n openstack-operators %s --type=merge --patch-file=%s\n\n" "${CSV_FILE}" "${CSV_NAME}" "${CSV_FILE}"
fi
exit 0
}

Expand Down
Loading