cello
cello copied to clipboard
Failed to stop a running node
Expected Behavior
A running node should be stopped after clicking the stop button.
Current Behavior
Error occurs, failed to stop the node
Possible Solution
The backend to operate on a node requires a payload to specify the action, but the frontend didn't call it with the payload. Instead, it used the URL parameter to specify the action.
Steps to Reproduce
- login
- create agent, network
- create node and make sure it's running
- stop the node
Possible Implementation
Make the frontend pass the action in the payload.