Skip to content

Commit 4a7e7d6

Browse files
fix the help text in the clear-route-status script
QA reported that they felt the help text was not clear enough. I Tagged the examples as examples and reworded a section Bug: 1440620
1 parent f714687 commit 4a7e7d6

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

images/router/clear-route-status.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,9 +63,11 @@ To clear only the status set by a specific router on all routes in all namespace
6363
router_name is the name in the deployment config, not the name of the pod. If the router is running it will
6464
immediately update any cleared status.
6565
66-
To clear the whole status field of the route by route name
66+
To clear the status field of a route or all routes in a given namespace
6767
./clear-route-status.sh [namespace] [route-name | ALL]
6868
69+
70+
Example Usage:
6971
To clear the status of all routes in all namespaces:
7072
oc get namespaces | awk '{if (NR!=1) print \$1}' | xargs -n 1 -I %% ./clear-route-status.sh %% ALL
7173

0 commit comments

Comments
 (0)