Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
libvmod-cluster
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
uplex-varnish
libvmod-cluster
Commits
0edaf31a
Commit
0edaf31a
authored
Mar 19, 2019
by
Nils Goroll
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
rename cluster_resolve -> decide
parent
8bf6d306
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
vmod_cluster.c
src/vmod_cluster.c
+4
-4
No files found.
src/vmod_cluster.c
View file @
0edaf31a
...
...
@@ -451,7 +451,7 @@ real_resolve(VRT_CTX, VCL_BACKEND r, enum resolve_e resolve)
}
static
VCL_BACKEND
cluster_resolv
e
(
VRT_CTX
,
decid
e
(
VRT_CTX
,
const
struct
vmod_cluster_cluster_param
*
pr
,
enum
resolve_e
resolve
)
{
VCL_BACKEND
r
;
...
...
@@ -484,7 +484,7 @@ cluster_resolve(VRT_CTX,
static
VCL_BACKEND
v_matchproto_
(
vdi_resolve_f
)
vmod_cluster_resolve
(
VRT_CTX
,
VCL_BACKEND
dir
)
{
return
(
cluster_resolv
e
(
ctx
,
return
(
decid
e
(
ctx
,
cluster_task_param_r
(
ctx
,
dir
->
priv
),
DEEP
));
}
...
...
@@ -505,7 +505,7 @@ cluster_choose(VRT_CTX,
if
(
resolve
==
LAZY
)
return
(
vc
->
dir
);
pr
=
cluster_task_param_r
(
ctx
,
vc
);
return
(
cluster_resolv
e
(
ctx
,
pr
,
resolve
));
return
(
decid
e
(
ctx
,
pr
,
resolve
));
}
AN
(
modify
);
...
...
@@ -549,7 +549,7 @@ cluster_choose(VRT_CTX,
if
(
resolve
==
LAZY
)
return
(
vc
->
dir
);
return
(
cluster_resolv
e
(
ctx
,
pr
,
resolve
));
return
(
decid
e
(
ctx
,
pr
,
resolve
));
}
VCL_BACKEND
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment