Details
-
Sub-task
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
3.1.0
-
None
-
None
Description
If you invoke "yarn app -stop <service_name>" on an already stopped service it confusingly responds with message "Successfully stopped service <service_name>". It should say "Service is already stopped".
The same is seen with the REST API PUT request with data { "state": "STOPPED"}, the response is 200 OK and diagnostics with same messageĀ "Successfully stopped service <service_name>". It should return 400 Bad Request with message "Service is already stopped".