mirror of
https://github.com/goharbor/harbor.git
synced 2024-11-23 02:35:17 +01:00
dacb1fc79e
Signed-off-by: Qian Deng <dengq@vmware.com>
9 lines
122 B
Bash
9 lines
122 B
Bash
#!/bin/bash
|
|
|
|
set -eo pipefail
|
|
|
|
if ping="$(redis-cli -h "127.0.0.1" ping)" && [ "$ping" = 'PONG' ]; then
|
|
exit 0
|
|
fi
|
|
|
|
exit 1 |