Commit 105904e4 authored by Nils Goroll's avatar Nils Goroll

properly handle NULL backends, they are neither cluster nor real

parent 47577a6f
......@@ -458,6 +458,9 @@ cluster_resolve(VRT_CTX,
AN(pr->cluster);
r = VRT_DirectorResolve(ctx, pr->cluster);
if (r == NULL)
return (NULL);
if (cluster_blacklisted(pr, r))
return (real_resolve(ctx, pr->real, resolve));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment