Skip to content

Commit 89b9223

Browse files
committed
deploy checker admin alias now checks all namespaces
1 parent 6c9bcef commit 89b9223

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

aliases

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -345,7 +345,7 @@ function nom-deploys-check() {
345345
clear -x
346346
echo 'Task Group Version Desired Status Created Modified'
347347
( for i in $(nomad node status |grep -Fv Eligibility |cut -f1 -d' '); do
348-
nomad node status -short $i \
348+
nomad node status --namespace '*' -short $i \
349349
|grep -E '^Name|run' \
350350
|grep -Fv running \
351351
|perl -pe 's/^[^ ]+ +[^ ]+ +//'
@@ -355,7 +355,7 @@ function nom-deploys-check() {
355355

356356
line
357357

358-
nomad status | grep -Fv running
358+
nomad status --namespace '*' |grep -Fv running
359359
}
360360

361361

0 commit comments

Comments
 (0)