Commit 4a4b4313 authored by Nils Goroll's avatar Nils Goroll

rename by_resolve -> real_resolve

parent 1bfc7ff8
......@@ -431,7 +431,7 @@ vmod_cluster_get_direct(VRT_CTX, struct vmod_cluster_cluster *vc)
}
static inline VCL_BACKEND
by_resolve(VRT_CTX, VCL_BACKEND r, enum resolve_e resolve)
real_resolve(VRT_CTX, VCL_BACKEND r, enum resolve_e resolve)
{
switch (resolve) {
case SHALLOW:
......@@ -452,13 +452,13 @@ cluster_resolve(VRT_CTX,
if (pr->direct ||
pr->uncacheable_direct && ctx->bo &&
(ctx->bo->do_pass || ctx->bo->uncacheable))
return (by_resolve(ctx, pr->real, resolve));
return (real_resolve(ctx, pr->real, resolve));
AN(pr->cluster);
r = VRT_DirectorResolve(ctx, pr->cluster);
if (cluster_blacklisted(pr, r))
return (by_resolve(ctx, pr->real, resolve));
return (real_resolve(ctx, pr->real, resolve));
switch (resolve) {
case SHALLOW:
......
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