Skip to content

Commit 2591f7a

Browse files
authored
Fix tests on redis restart (#600)
previous pr had a typo causing issues on cluster
1 parent b4c8606 commit 2591f7a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bin/ghe-restore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -647,7 +647,7 @@ if $instance_configured; then
647647
echo "nomad stop redis" |
648648
ghe-ssh "$GHE_HOSTNAME" -- /bin/sh 1>&3 2>&3
649649
ghe-ssh "$GHE_HOSTNAME" -- "/usr/local/share/enterprise/ghe-nomad-jobs queue /etc/nomad-jobs/redis/redis.hcl" 1>&3 2>&3
650-
if $? -gt 0; then
650+
if [ "$?" -gt 0 ]; then
651651
log_error "Unable to restart redis"
652652
fi
653653
log_info "Getting redis status after restart..." 1>&3

0 commit comments

Comments
 (0)