BucketCtx extends the parent context with a bucket name.
(parent context.Context, b Bucket)
| 183 | |
| 184 | // BucketCtx extends the parent context with a bucket name. |
| 185 | func bucketCtx(parent context.Context, b Bucket) context.Context { |
| 186 | return BucketNameCtx(parent, b.GetName()) |
| 187 | } |
| 188 | |
| 189 | // getLogContext returns a log context possibly extending from previous context. |
| 190 | func getLogCtx(ctx context.Context) LogContext { |
no test coverage detected