Skip to content

Commit

Permalink
vale fixes for the go function guide
Browse files Browse the repository at this point in the history
Signed-off-by: Jared Watts <jbw976@gmail.com>
  • Loading branch information
jbw976 committed Sep 22, 2024
1 parent 7d30add commit 91e03f2
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 8 deletions.
7 changes: 3 additions & 4 deletions content/master/guides/write-a-composition-function-in-go.md
Original file line number Diff line number Diff line change
Expand Up @@ -425,10 +425,9 @@ This code:
1. Adds one desired S3 bucket for each bucket name.
1. Returns the desired S3 buckets in a `RunFunctionResponse`.

The code uses the `v1beta1.Bucket` type from [Upbound's AWS S3
provider](https://github.com/crossplane-contrib/provider-upjet-aws). One
advantage of writing a function in Go is that you can compose resources using
the same strongly typed structs Crossplane uses in its providers.
The code uses the `v1beta1.Bucket` type from [Upbound's AWS S3 provider](https://github.com/crossplane-contrib/provider-upjet-aws).
One advantage of writing a function in Go is that you can compose resources
using the same strongly typed structs Crossplane uses in its providers.

You must get the AWS Provider Go module to use this type:

Expand Down
7 changes: 3 additions & 4 deletions content/v1.17/guides/write-a-composition-function-in-go.md
Original file line number Diff line number Diff line change
Expand Up @@ -425,10 +425,9 @@ This code:
1. Adds one desired S3 bucket for each bucket name.
1. Returns the desired S3 buckets in a `RunFunctionResponse`.

The code uses the `v1beta1.Bucket` type from [Upbound's AWS S3
provider](https://github.com/crossplane-contrib/provider-upjet-aws). One
advantage of writing a function in Go is that you can compose resources using
the same strongly typed structs Crossplane uses in its providers.
The code uses the `v1beta1.Bucket` type from [Upbound's AWS S3 provider](https://github.com/crossplane-contrib/provider-upjet-aws).
One advantage of writing a function in Go is that you can compose resources
using the same strongly typed structs Crossplane uses in its providers.

You must get the AWS Provider Go module to use this type:

Expand Down

0 comments on commit 91e03f2

Please sign in to comment.