Skip to content

Commit 0b7928d

Browse files
authoredAug 9, 2024
Fix UpsertTypedSearchAttributes docs typo (#1585)
1 parent 2927574 commit 0b7928d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎workflow/workflow.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -646,7 +646,7 @@ func UpsertSearchAttributes(ctx Context, attributes map[string]interface{}) erro
646646
//
647647
// var intKey = temporal.NewSearchAttributeKeyInt64("CustomIntField")
648648
// var boolKey = temporal.NewSearchAttributeKeyBool("CustomBoolField")
649-
// var keywordKey = temporal.NewSearchAttributeKeyBool("CustomKeywordField")
649+
// var keywordKey = temporal.NewSearchAttributeKeyKeyword("CustomKeywordField")
650650
//
651651
// func MyWorkflow(ctx workflow.Context, input string) error {
652652
// err = workflow.UpsertTypedSearchAttributes(ctx, intAttrKey.ValueSet(1), boolAttrKey.ValueSet(true))

0 commit comments

Comments
 (0)