Skip to content

Commit 4b60dd7

Browse files
committed
Making the composite-resource key more unique to prevent edge case.
Signed-off-by: dalton hill <[email protected]>
1 parent c6c4662 commit 4b60dd7

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

fn.go

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,9 @@ const (
3939
// Context keys.
4040
logKey contextKey = "log"
4141

42-
// Unique keys.
43-
compositeResourceKey = "COMPOSITE_RESOURCE"
42+
// Reserved keys.
43+
reservedKeyPrefix = "function-status-transformer.reserved-keys."
44+
compositeResourceKey = reservedKeyPrefix + "composite-resource"
4445
)
4546

4647
// Function returns whatever response you ask it to.

0 commit comments

Comments
 (0)