Skip to content

Commit

Permalink
Fix typo in docstring (#1317)
Browse files Browse the repository at this point in the history
  • Loading branch information
dandavison authored Dec 7, 2023
1 parent 5fdbecc commit 5d5b9c4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion internal/workflow.go
Original file line number Diff line number Diff line change
Expand Up @@ -1744,7 +1744,7 @@ func SetQueryHandler(ctx Context, queryType string, handler interface{}) error {
// the update handler itself is invoked and if this function returns an error,
// the update request will be considered to have been rejected and as such will
// not occupy any space in the workflow history. Validation functions must take
// as inputs the same parameters as the associated update handler but my vary
// as inputs the same parameters as the associated update handler but may vary
// from said handler by the presence/absence of a workflow.Context as the first
// parameter. Validation handlers must only return a single error. Validation
// handlers must be deterministic and can observe workflow state but must not
Expand Down
2 changes: 1 addition & 1 deletion workflow/workflow.go
Original file line number Diff line number Diff line change
Expand Up @@ -453,7 +453,7 @@ func SetUpdateHandler(ctx Context, updateName string, handler interface{}) error
// the update handler itself is invoked and if this function returns an error,
// the update request will be considered to have been rejected and as such will
// not occupy any space in the workflow history. Validation functions must take
// as inputs the same parameters as the associated update handler but my vary
// as inputs the same parameters as the associated update handler but may vary
// from said handler by the presence/absence of a [workflow.Context] as the first
// parameter. Validation handlers must only return a single error. Validation
// handlers must be deterministic and can observe workflow state but must not
Expand Down

0 comments on commit 5d5b9c4

Please sign in to comment.