s:NULL backend:None backend:

parent 59d4d33f
......@@ -185,7 +185,7 @@ varnish v1 -errvcl {vmod_directors: shard shard: .backend(resolve=NOW) can not b
}
}
varnish v1 -errvcl {vmod_directors: shard shard: NULL backend cannot be added}{
varnish v1 -errvcl {vmod_directors: shard shard: None backend cannot be added}{
import directors;
backend dummy None;
......
......@@ -7,7 +7,7 @@ server s1 {
varnish v1 -vcl+backend {} -start
varnish v1 -errvcl "NULL backend cannot be added" {
varnish v1 -errvcl "None backend cannot be added" {
import directors;
probe cacheprobe {
......
varnishtest "NULL backend allowed"
varnishtest "None backend allowed"
server s1 {
rxreq
......
......@@ -137,7 +137,7 @@ vdir_add_backend(VRT_CTX, struct vdir *vd, VCL_BACKEND be, double weight)
CHECK_OBJ_NOTNULL(ctx, VRT_CTX_MAGIC);
CHECK_OBJ_NOTNULL(vd, VDIR_MAGIC);
if (be == NULL) {
VRT_fail(ctx, "%s: NULL backend cannot be added",
VRT_fail(ctx, "%s: None backend cannot be added",
VRT_BACKEND_string(vd->dir));
return;
}
......@@ -160,7 +160,7 @@ vdir_remove_backend(VRT_CTX, struct vdir *vd, VCL_BACKEND be, unsigned *cur)
CHECK_OBJ_NOTNULL(ctx, VRT_CTX_MAGIC);
CHECK_OBJ_NOTNULL(vd, VDIR_MAGIC);
if (be == NULL) {
VRT_fail(ctx, "%s: NULL backend cannot be removed",
VRT_fail(ctx, "%s: None backend cannot be removed",
VRT_BACKEND_string(vd->dir));
return;
}
......
......@@ -319,7 +319,7 @@ vmod_shard_add_backend(VRT_CTX, struct vmod_directors_shard *vshard,
if (args->backend == NULL) {
shard_fail(ctx, vshard->shardd->name, "%s",
"NULL backend cannot be added");
"None backend cannot be added");
return (0);
}
......
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