Skip to content

Commit

Permalink
bin/init: Fix REST gateway polling
Browse files Browse the repository at this point in the history
a834998 defect. Wrong ENV variable with
gateway network endpoint was used. This caused:
```
curl: (2) no URL specified
```

Signed-off-by: Leonard Lyubich <[email protected]>
  • Loading branch information
cthulhu-rider committed Jul 4, 2024
1 parent 3d83c05 commit 7ae41de
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 7ae41de

Please sign in to comment.