Skip to content

Commit

Permalink
address comments
Browse files Browse the repository at this point in the history
  • Loading branch information
shijiesheng committed Aug 21, 2024
1 parent eb65410 commit cc1bf5c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion service/history/task/transfer_task_executor_base.go
Original file line number Diff line number Diff line change
Expand Up @@ -463,7 +463,7 @@ func getWorkflowHeaders(startEvent *types.HistoryEvent) map[string][]byte {
if attr == nil || attr.Header == nil {
return nil
}
headers := make(map[string][]byte)
headers := make(map[string][]byte, len(attr.Header.Fields))
for k, v := range attr.Header.Fields {
val := make([]byte, len(v))
copy(val, v)
Expand Down

0 comments on commit cc1bf5c

Please sign in to comment.