Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Proof-of-concept: OTel Resource scope and namespace API #427

Closed
wants to merge 22 commits into from
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Comments
  • Loading branch information
jmacd committed Jan 11, 2020
commit f09713e6f81347f06425d5c25f65f961670f9c4e
4 changes: 2 additions & 2 deletions api/context/scope/current.go
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@ func (s Scope) InContext(ctx context.Context) context.Context {
}

// Current returns the Scope associated with a Context as set by
// ContextWithScope. If no Scope is located in the context, the
// global scope will be used.
// Scope.InContext(). If no Scope is located in the context, the
// global scope will be returned.
func Current(ctx context.Context) Scope {
impl := internal.ScopeImpl(ctx)
if impl == nil {
Expand Down