[master] 8638c546f spelling: cannot

Poul-Henning Kamp phk at FreeBSD.org
Mon Aug 19 12:40:06 UTC 2024


commit 8638c546f49daa4820bfdcdeb17dbe669f0aa65c
Author: Josh Soref <2119212+jsoref at users.noreply.github.com>
Date:   Wed Aug 7 08:30:53 2024 -0400

    spelling: cannot
    
    Signed-off-by: Josh Soref <2119212+jsoref at users.noreply.github.com>

diff --git a/vmod/tests/directors_c00015.vtc b/vmod/tests/directors_c00015.vtc
index 12af48d03..952d882ac 100644
--- a/vmod/tests/directors_c00015.vtc
+++ b/vmod/tests/directors_c00015.vtc
@@ -160,7 +160,7 @@ varnish v1 -errvcl {vmod_directors: shard shard: .backend(resolve=LAZY) with oth
     }
 }
 
-varnish v1 -errvcl {vmod_directors: shard shard: .backend(resolve=NOW) can not be used in vcl_init{}/vcl_fini{}} {
+varnish v1 -errvcl {vmod_directors: shard shard: .backend(resolve=NOW) cannot be used in vcl_init{}/vcl_fini{}} {
     import directors;
     import blob;
 
diff --git a/vmod/vmod_debug.c b/vmod/vmod_debug.c
index c9b05c4db..076d43d36 100644
--- a/vmod/vmod_debug.c
+++ b/vmod/vmod_debug.c
@@ -898,7 +898,7 @@ xyzzy_sethdr(VRT_CTX, VCL_HEADER hdr, VCL_STRANDS s)
 	hp = VRT_selecthttp(ctx, hdr->where);
 	if (hp == NULL) {
 		VRT_fail(ctx, "debug.sethdr(): header argument "
-		    "can not be used here");
+		    "cannot be used here");
 		return;
 	}
 	AN(hdr->what);
diff --git a/vmod/vmod_directors.vcc b/vmod/vmod_directors.vcc
index d51f9535e..9275edcff 100644
--- a/vmod/vmod_directors.vcc
+++ b/vmod/vmod_directors.vcc
@@ -541,14 +541,14 @@ is _not_ the order given when backends are added.
 
   * ``NOW``: look up a backend and return it.
 
-    Can not be used in ``vcl_init{}``.
+    Cannot be used in ``vcl_init{}``.
 
   * ``LAZY``: return an instance of this director for later backend resolution.
 
     ``LAZY`` mode is required for referencing shard director instances,
     for example as backends for other directors (director layering).
 
-    In ``vcl_init{}`` and on the client side, ``LAZY`` mode can not be
+    In ``vcl_init{}`` and on the client side, ``LAZY`` mode cannot be
     used with any other argument.
 
     On the backend side and in ``vcl_pipe {}``, parameters from
@@ -606,7 +606,7 @@ The per-VCL scope defines defaults for the per backend scope. Any
 changes to a parameter set in backend context and in ``vcl_pipe {}``
 only affect the respective backend request.
 
-Parameter sets can not be used in client context except for
+Parameter sets cannot be used in client context except for
 ``vcl_pipe {}``.
 
 The following example is a typical use case: A parameter set is
diff --git a/vmod/vmod_directors_shard.c b/vmod/vmod_directors_shard.c
index 8ef2a4f91..da8743834 100644
--- a/vmod/vmod_directors_shard.c
+++ b/vmod/vmod_directors_shard.c
@@ -641,7 +641,7 @@ vmod_shard_backend(VRT_CTX, struct vmod_directors_shard *vshard,
 	} else if (resolve == VENUM(NOW)) {
 		if (ctx->method & VCL_MET_TASK_H) {
 			shard_fail(ctx, shardd->name, "%s",
-			    ".backend(resolve=NOW) can not be "
+			    ".backend(resolve=NOW) cannot be "
 			    "used in vcl_init{}/vcl_fini{}");
 			return (NULL);
 		}
diff --git a/vmod/vmod_std.c b/vmod/vmod_std.c
index dde572fae..c0c59122e 100644
--- a/vmod/vmod_std.c
+++ b/vmod/vmod_std.c
@@ -189,7 +189,7 @@ vmod_collect(VRT_CTX, VCL_HEADER hdr, VCL_STRING sep)
 	hp = VRT_selecthttp(ctx, hdr->where);
 	if (hp == NULL) {
 		VRT_fail(ctx, "std.collect(): header argument "
-		    "can not be used here");
+		    "cannot be used here");
 		return;
 	}
 	http_CollectHdrSep(hp, hdr->what, sep);
diff --git a/vmod/vmod_std.vcc b/vmod/vmod_std.vcc
index 47f319b4d..82e5afbdf 100644
--- a/vmod/vmod_std.vcc
+++ b/vmod/vmod_std.vcc
@@ -292,7 +292,7 @@ A STRING *s* argument can be quantified with a multiplier (``k``
 If the conversion of an *s* argument fails, *fallback* will be
 returned if provided, or a VCL failure will be triggered.
 
-Other conversions may fail if the argument can not be represented,
+Other conversions may fail if the argument cannot be represented,
 because it is negative, too small or too large. Again, *fallback* will
 be returned if provided, or a VCL failure will be triggered.
 
diff --git a/vmod/vmod_vtc.vcc b/vmod/vmod_vtc.vcc
index 7ac3f6997..fb876d430 100644
--- a/vmod/vmod_vtc.vcc
+++ b/vmod/vmod_vtc.vcc
@@ -182,7 +182,7 @@ Call ``VSLs()`` with the given parameters.
 
 The argument order is chosen to match VSL output.
 
-A VCL error is triggered if `tag` can not be resolved at runtime or
+A VCL error is triggered if `tag` cannot be resolved at runtime or
 if vxid is out of bounds.
 
 $Function VOID vsl_replay(STRANDS s)


More information about the varnish-commit mailing list