We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 7eb2d59 + 5b092de commit fb9edadCopy full SHA for fb9edad
1 file changed
hack/run_with_local_webhook.sh
@@ -5,6 +5,13 @@ set -ex
5
cleanup() {
6
echo "Caught signal, cleaning up local webhooks..."
7
./hack/clean_local_webhook.sh
8
+ # Remind the user how to restore the CSV since the earlier message
9
+ # may have scrolled off the terminal.
10
+ if [ -n "${CSV_FILE}" ]; then
11
+ printf \
12
+ "\n\tThe original OLM version of the operator's CSV has been copied to %s. To restore it, use:
13
+ oc patch -n openstack-operators %s --type=merge --patch-file=%s\n\n" "${CSV_FILE}" "${CSV_NAME}" "${CSV_FILE}"
14
+ fi
15
exit 0
16
}
17
0 commit comments