feat(stage): fix load port
@@ -6,10 +6,8 @@ CURDIR=$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)
echo "CREATE STAGE if not exists s2;" | $MYSQL_CLIENT_CONNECT
echo "list @s2" | $MYSQL_CLIENT_CONNECT
-## Debug
-ls -aril "${CURDIR}/00_0001_upload_to_stage.sh"
+curl -H "stage_name:s2" -F "upload=@${CURDIR}/00_0001_upload_to_stage.sh" -XPUT http://localhost:8001/v1/upload_to_stage > /dev/null 2>&1
-curl -H "stage_name:s2" -F "upload=@${CURDIR}/00_0001_upload_to_stage.sh" -XPUT http://localhost:8000/v1/upload_to_stage
echo "list @s2" | $MYSQL_CLIENT_CONNECT
echo "drop stage s2;" | $MYSQL_CLIENT_CONNECT
