Skip to content

Commit

Permalink
docs(transforms): note that map fails on missing keys (#653)
Browse files Browse the repository at this point in the history
  • Loading branch information
LCaparelli authored Dec 14, 2023
1 parent 3e3343d commit 52d3b2d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion content/master/concepts/patch-and-transform.md
Original file line number Diff line number Diff line change
Expand Up @@ -1223,7 +1223,7 @@ If Crossplane finds the value, Crossplane puts
the mapped value in the {{<hover label="map" line="4">}}toFieldPath{{</hover>}}.

{{<hint "note" >}}
Crossplane ignores the patch if the value isn't found.
Crossplane throws an error for the patch if the value isn't found.
{{< /hint >}}

{{<hover label="map" line="3">}}spec.field1{{</hover>}} is the string
Expand Down
2 changes: 1 addition & 1 deletion content/v1.13/concepts/patch-and-transform.md
Original file line number Diff line number Diff line change
Expand Up @@ -1169,7 +1169,7 @@ If Crossplane finds the value, Crossplane puts
the mapped value in the {{<hover label="map" line="4">}}toFieldPath{{</hover>}}.

{{<hint "note" >}}
Crossplane ignores the patch if the value isn't found.
Crossplane throws an error for the patch if the value isn't found.
{{< /hint >}}

{{<hover label="map" line="3">}}spec.field1{{</hover>}} is the string
Expand Down
2 changes: 1 addition & 1 deletion content/v1.14/concepts/patch-and-transform.md
Original file line number Diff line number Diff line change
Expand Up @@ -1223,7 +1223,7 @@ If Crossplane finds the value, Crossplane puts
the mapped value in the {{<hover label="map" line="4">}}toFieldPath{{</hover>}}.

{{<hint "note" >}}
Crossplane ignores the patch if the value isn't found.
Crossplane throws an error for the patch if the value isn't found.
{{< /hint >}}

{{<hover label="map" line="3">}}spec.field1{{</hover>}} is the string
Expand Down

0 comments on commit 52d3b2d

Please sign in to comment.