MXS-1220: Only list active server references
The services listed disabled server references in their relationships.
This commit is contained in:
parent
bcc3f11c4b
commit
84d085ef39
@ -2529,7 +2529,7 @@ json_t* service_relations_to_server(const SERVER* server, const char* host)
|
||||
|
||||
for (SERVER_REF *ref = service->dbref; ref; ref = ref->next)
|
||||
{
|
||||
if (ref->server == server)
|
||||
if (ref->server == server && SERVER_REF_IS_ACTIVE(ref))
|
||||
{
|
||||
add_service_relation(arr, host, service);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user