Skip to content

Commit cb3de7f

Browse files
authored
Merge pull request #774 from joebowbeer/patch-2
Update composition-functions.md
2 parents bfcad83 + cc36755 commit cb3de7f

File tree

2 files changed

+9
-7
lines changed

2 files changed

+9
-7
lines changed

content/master/concepts/composition-functions.md

+7-5
Original file line numberDiff line numberDiff line change
@@ -249,7 +249,7 @@ spec:
249249

250250
{{<expand "The xr.yaml, composition.yaml and function.yaml files used in the example">}}
251251

252-
You can recreate the output below using by running `crossplane beta render` with
252+
You can recreate the output below by running `crossplane beta render` with
253253
these files.
254254

255255
The `xr.yaml` file contains the composite resource to render:
@@ -309,7 +309,7 @@ spec:
309309
{{</expand>}}
310310

311311
The Crossplane CLI uses Docker Engine to run functions. You can change how the
312-
Crossplane CLI run a function by adding an annotation in `functions.yaml`. Add
312+
Crossplane CLI runs a function by adding an annotation in `functions.yaml`. Add
313313
the `render.crossplane.io/runtime` annotation to a Function to change how it's
314314
run.
315315

@@ -379,8 +379,10 @@ func (f *Function) RunFunction(_ context.Context, req *fnv1beta1.RunFunctionRequ
379379
}
380380
```
381381

382-
Some people design composition functions for you to use them with any kind of
382+
<!-- vale write-good.Passive = NO -->
383+
Some composition functions are designed to be used with any kind of
383384
composite resource.
385+
<!-- vale write-good.Passive = YES -->
384386
[Function Patch and Transform](https://github.com/crossplane-contrib/function-patch-and-transform)
385387
and
386388
[Function Auto Ready](https://github.com/crossplane-contrib/function-auto-ready)
@@ -550,7 +552,7 @@ spec:
550552
```
551553

552554
If any composed resources already exist, Crossplane observes them and sends them
553-
to your function to as part of the observed state.
555+
to your function as part of the observed state.
554556

555557
Crossplane also observes the connection details of your composite resource and
556558
any composed resources. It sends them to your function as part of the observed
@@ -740,4 +742,4 @@ looking for a log line:
740742

741743
If you don't see the log line emitted when Crossplane starts, you have disabled
742744
__extra resources__ for composition functions, which means requests by functions for __extra
743-
resources__ are just ignored.
745+
resources__ are just ignored.

utils/vale/.vale.ini

+2-2
Original file line numberDiff line numberDiff line change
@@ -37,14 +37,14 @@ Google.OxfordComma = NO
3737
Google.Will = NO
3838
Google.Latin = NO
3939

40-
# Ingore Microsoft duplicates
40+
# Ignore Microsoft duplicates
4141
Microsoft.We = NO
4242
Microsoft.FirstPerson = NO
4343
Microsoft.Foreign = NO
4444
Microsoft.Quotes = NO
4545
Microsoft.GeneralURL = NO
4646

47-
# ignore indivudal tokens
47+
# ignore individual tokens
4848
# Ignore the markdown link to check the last word of the link: ](.
4949
# Ignore markdown image with alt: ![
5050
# ignore v#.##

0 commit comments

Comments
 (0)