Skip to content

Commit

Permalink
setup/create: modify response
Browse files Browse the repository at this point in the history
  • Loading branch information
inciner8r committed Nov 27, 2023
1 parent 6cbef2f commit ab947d9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion setup/create.sh
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,6 @@ if [ $? -ne 0 ]; then
printf '{"todo": "Create Sotreus Docker Instances", "result": "failure", "message": "Error Occured While Creating Containers"}\n'
exit 2
else
printf '{"todo": "Create Sotreus Docker Instances", "result": "success", "message": {"vpn_id": %s, "vpn_endpoint": %s, "vpn_api_port": %s, "vpn_external_port": %s,"dashboard_password":"%s"}}\n' "$SOTREUS_NAME" "$WG_ENDPOINT_HOST" "$WG_HTTP_PORT" "$WG_ENDPOINT_PORT" "$FIREWALL_PASSWORD"
printf '{"todo": "Create Sotreus Docker Instances", "result": "success", "message": {"vpn_id": "%s", "vpn_endpoint": "%s", "vpn_api_port": %s, "vpn_external_port": %s,"dashboard_password":"%s"}}\n' "$SOTREUS_NAME" "$WG_ENDPOINT_HOST" "$WG_HTTP_PORT" "$WG_ENDPOINT_PORT" "$FIREWALL_PASSWORD"
exit 0
fi

0 comments on commit ab947d9

Please sign in to comment.