Skip to content

Commit

Permalink
fix: ctx key
Browse files Browse the repository at this point in the history
  • Loading branch information
iamKunalGupta committed Mar 5, 2025
1 parent 923b366 commit 45f5b94
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion flow/internal/context.go
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ func GetAdditionalMetadata(ctx context.Context) AdditionalContextMetadata {
func WithOperationContext(ctx context.Context, operation protos.FlowOperation) context.Context {
currentMetadata := GetAdditionalMetadata(ctx)
currentMetadata.Operation = operation
return context.WithValue(ctx, FlowMetadataKey, currentMetadata)
return context.WithValue(ctx, AdditionalMetadataKey, currentMetadata)
}

type ContextPropagator[V any] struct {
Expand Down

0 comments on commit 45f5b94

Please sign in to comment.