MXS-1220: Add deletion of listeners

The listeners can now be deleted via the REST API. Documented the added
endpoint in the REST API documentation.
This commit is contained in:
Markus Mäkelä
2017-07-03 20:18:45 +03:00
parent 7e40c93cc4
commit 35745ee925
5 changed files with 85 additions and 0 deletions

View File

@ -806,6 +806,7 @@ bool runtime_destroy_listener(SERVICE *service, const char *name)
else
{
MXS_ERROR("Failed to destroy listener '%s' for service '%s'", name, service->name);
runtime_error("Failed to destroy listener '%s' for service '%s'", name, service->name);
}
}