Skip to content

Commit

Permalink
chore: fix function names in comment (#5894)
Browse files Browse the repository at this point in the history
Signed-off-by: verytrap <wangqiuyue@outlook.com>
Co-authored-by: Zijian <Shaddoll@users.noreply.github.com>
  • Loading branch information
Vt and Shaddoll committed May 6, 2024
1 parent 0c1bdca commit a843a9e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion canary/cancellation.go
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ func cancellationActivity(ctx context.Context, scheduledTimeNanos int64) error {
return apiCancelTestFn(true)
}

// cancellationActivity is the activity implementation to test for cancellation of non child workflow, using API
// cancellationChildActivity is the activity implementation to test for cancellation of non child workflow, using API
func cancellationChildActivity(ctx context.Context, scheduledTimeNanos int64, execution workflow.Execution) error {
scope := activity.GetMetricsScope(ctx)
var err error
Expand Down
2 changes: 1 addition & 1 deletion common/client/versionChecker.go
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ func (vc *versionChecker) SupportsConsistentQuery(clientImpl string, clientFeatu
return vc.featureSupported(clientImpl, clientFeatureVersion, consistentQuery)
}

// SupportsSendRawWorkflowHistory returns error if raw history query is not supported otherwise nil.
// SupportsRawHistoryQuery returns error if raw history query is not supported otherwise nil.
// In case client version lookup fails assume the client does not support feature.
func (vc *versionChecker) SupportsRawHistoryQuery(clientImpl string, clientFeatureVersion string) error {
return vc.featureSupported(clientImpl, clientFeatureVersion, rawHistoryQuery)
Expand Down

0 comments on commit a843a9e

Please sign in to comment.