Skip to content

Commit

Permalink
Fix UpsertTypedSearchAttributes docs typo (temporalio#1585)
Browse files Browse the repository at this point in the history
  • Loading branch information
ShahabT authored Aug 9, 2024
1 parent 2927574 commit 0b7928d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion workflow/workflow.go
Original file line number Diff line number Diff line change
Expand Up @@ -646,7 +646,7 @@ func UpsertSearchAttributes(ctx Context, attributes map[string]interface{}) erro
//
// var intKey = temporal.NewSearchAttributeKeyInt64("CustomIntField")
// var boolKey = temporal.NewSearchAttributeKeyBool("CustomBoolField")
// var keywordKey = temporal.NewSearchAttributeKeyBool("CustomKeywordField")
// var keywordKey = temporal.NewSearchAttributeKeyKeyword("CustomKeywordField")
//
// func MyWorkflow(ctx workflow.Context, input string) error {
// err = workflow.UpsertTypedSearchAttributes(ctx, intAttrKey.ValueSet(1), boolAttrKey.ValueSet(true))
Expand Down

0 comments on commit 0b7928d

Please sign in to comment.