Skip to content

Commit 1678632

Browse files
committed
Make linter happy
1 parent 8e8cd79 commit 1678632

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

backend/redis/activity.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ func (rb *redisBackend) CompleteActivityTask(ctx context.Context, task *backend.
7272
rb.activityQueue.groupName,
7373
result.ID,
7474
eventData,
75-
string(payload),
75+
payload,
7676
rb.workflowQueue.groupName,
7777
instanceSegment(task.WorkflowInstance),
7878
).Err()

backend/redis/instance.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ func (rb *redisBackend) CancelWorkflowInstance(ctx context.Context, instance *co
145145
},
146146
event.ID,
147147
eventData,
148-
string(payloadData),
148+
payloadData,
149149
instanceSegment(instance),
150150
).Err(); err != nil {
151151
return fmt.Errorf("canceling workflow instance: %w", err)

0 commit comments

Comments
 (0)