File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -392,7 +392,7 @@ if $CLUSTER; then
392
392
if ! ghe-ssh " $GHE_HOSTNAME " -- " ghe-cluster-each -- sudo service cron stop" ; then
393
393
log_warn " Failed to stop cron on one or more nodes" 1>&3
394
394
fi
395
-
395
+ bm_end " $( basename $0 ) - Stopping cron and github-timerd on cluster "
396
396
if [ " $GHE_VERSION_MAJOR " -eq " 3" ]; then
397
397
if ghe-ssh " $GHE_HOSTNAME " -- " systemctl -q is-active nomad && nomad job status --short github-timerd &>/dev/null" ; then
398
398
if ! ghe-ssh " $GHE_HOSTNAME " -- " sudo nomad stop github-timerd 1>/dev/null" ; then
@@ -404,14 +404,14 @@ if $CLUSTER; then
404
404
log_warn " Failed to stop github-timerd on one or more nodes" 1>&3
405
405
fi
406
406
fi
407
- bm_end " $( basename $0 ) - Stopping cron and github-timerd on cluster "
407
+
408
408
else
409
409
bm_start " $( basename $0 ) - Stopping cron and github-timerd"
410
410
echo " $( basename $0 ) - Stopping cron and github-timerd"
411
411
if ! ghe-ssh " $GHE_HOSTNAME " -- " sudo service cron stop" ; then
412
412
log_warn " Failed to stop cron" 1>&3
413
413
fi
414
-
414
+ bm_end " $( basename $0 ) - Stopping cron and github-timerd "
415
415
if [ " $GHE_VERSION_MAJOR " -eq " 3" ]; then
416
416
if ghe-ssh " $GHE_HOSTNAME " -- " systemctl -q is-active nomad && nomad job status --short github-timerd &>/dev/null" ; then
417
417
if ! ghe-ssh " $GHE_HOSTNAME " -- " sudo nomad stop github-timerd 1>/dev/null" ; then
423
423
log_warn " Failed to stop github-timerd" 1>&3
424
424
fi
425
425
fi
426
- bm_end " $( basename $0 ) - Stopping cron and github-timerd on "
426
+
427
427
fi
428
428
CRON_RUNNING=false
429
429
You can’t perform that action at this time.
0 commit comments