Skip to content

Commit

Permalink
bin/init: Fix REST gateway polling (#83)
Browse files Browse the repository at this point in the history
  • Loading branch information
cthulhu-rider authored Jul 4, 2024
2 parents 3d83c05 + 7ae41de commit 8635105
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/init-aio.sh
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ if [ $IS_START_REST = "true" ]; then
. /config/rest.env
/usr/bin/neofs-rest-gw &

while [[ "$(curl -s -o /dev/null -w %{http_code} $REST_GW_SERVER_LISTEN_ADDRESS)" != "307" ]];
while [[ "$(curl -s -o /dev/null -w %{http_code} $REST_GW_SERVER_ENDPOINTS_0_ADDRESS)" != "307" ]];
do
sleep 1;
done
Expand Down

0 comments on commit 8635105

Please sign in to comment.