change argument
This commit is contained in:
@@ -17,6 +17,6 @@ data:
|
||||
apk add curl
|
||||
fi
|
||||
|
||||
echo "updating port with {{PORTS}}"
|
||||
echo "updating port with $1"
|
||||
|
||||
curl -i -X POST -d "json={\"listen_port\": {{PORTS}}}" "http://localhost:8080/api/v2/app/setPreferences"'
|
||||
curl -i -X POST -d "json={\"listen_port\": $1}" "http://localhost:8080/api/v2/app/setPreferences"'
|
||||
|
Reference in New Issue
Block a user