Skip to content

Commit

Permalink
fix: bin/redis log message typo
Browse files Browse the repository at this point in the history
  • Loading branch information
waitingsong committed Dec 7, 2024
1 parent 428e162 commit 7d25dfc
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion bin/redis-add
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ if (($# == 1)); then
exit 2
fi
log_line "SUMMARY"
log_info "create pgsql ${HOST_TYPE} ${REDIS_SELECTOR} complete!"
log_info "create redis ${HOST_TYPE} ${REDIS_SELECTOR} complete!"
exit 0
fi

Expand Down
6 changes: 3 additions & 3 deletions bin/redis-rm
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
set -uo pipefail
#==============================================================#
# File : redis-rm
# Desc : Create Redis Cluster/Node/Instances
# Desc : Remove Redis Cluster/Node/Instances
# Ctime : 2022-12-29
# Mtime : 2023-09-14
# Path : bin/redis-rm
Expand Down Expand Up @@ -76,11 +76,11 @@ if (($# == 1)); then

if [[ $? -ne 0 ]]; then
log_line "FAILURE"
log_error "fail to create redis ${HOST_TYPE} ${REDIS_SELECTOR}"
log_error "fail to remove redis ${HOST_TYPE} ${REDIS_SELECTOR}"
exit 2
fi
log_line "SUMMARY"
log_info "create pgsql ${HOST_TYPE} ${REDIS_SELECTOR} complete!"
log_info "remove redis ${HOST_TYPE} ${REDIS_SELECTOR} complete!"
exit 0
fi

Expand Down

0 comments on commit 7d25dfc

Please sign in to comment.