Skip to content

Commit

Permalink
pkg/context: Add deprecation notice
Browse files Browse the repository at this point in the history
  • Loading branch information
monstermunchkin committed Nov 27, 2024
1 parent b7380ce commit 603c5ba
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkg/context/transfer.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ import (
// Transfer takes the logger, log.Sink, authentication, request and
// error info from the given context and returns a complete
// new context with all these objects.
// Deprecated: Use context.WithoutCancel instead.
func Transfer(in context.Context) context.Context {
// transfer logger, log.Sink, authentication and error info
out := TransferTracingContext(in, context.Background())
Expand Down

0 comments on commit 603c5ba

Please sign in to comment.