!291 [I1WM4J] Add username in docker shutdown

* add user to curl
This commit is contained in:
Zhan Lu 2020-09-25 17:10:45 +08:00 committed by Raghunandan
parent fb408e7d21
commit fe7ee4ab55
1 changed files with 1 additions and 1 deletions

View File

@ -27,7 +27,7 @@ then
fi
# Send shutdown request
curl -X PUT -H "Content-Type: application/json" http://localhost:$HETU_PORT/v1/info/state -d '"SHUTTING_DOWN"'
curl -X PUT -H "X-Presto-User: openlk" -H "Content-Type: application/json" http://localhost:$HETU_PORT/v1/info/state -d '"SHUTTING_DOWN"'
# Wait for node to exit
while true