[#34] Fix Inner Ring healthcheck command

Signed-off-by: Artem Tataurov <a.tataurov@yadro.com>
This commit is contained in:
Artem Tataurov 2024-04-09 18:14:27 +03:00
parent e7cb5db4fa
commit 9d79d69b1f

View file

@ -35,7 +35,7 @@ runServices() {
/usr/bin/frostfs-ir --config /config/config-ir.yaml & /usr/bin/frostfs-ir --config /config/config-ir.yaml &
while [[ -z "$(/usr/bin/frostfs-cli control healthcheck --ir --endpoint localhost:16512 -c /config/cli-cfg-ir.yaml | grep 'Health status: READY')" ]]; while [[ -z "$(/usr/bin/frostfs-cli control ir healthcheck --endpoint localhost:16512 -c /config/cli-cfg-ir.yaml | grep 'Health status: READY')" ]];
do do
sleep 2; sleep 2;
done done