Skip to content

Commit

Permalink
[chore] remove unused member from confmap.Resolver (open-telemetry#6489)
Browse files Browse the repository at this point in the history
Signed-off-by: Bogdan <bogdandrutu@gmail.com>
  • Loading branch information
bogdandrutu authored Nov 8, 2022
1 parent eac9944 commit f411094
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 2 deletions.
16 changes: 16 additions & 0 deletions .chloggen/confmapmu.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# One of 'breaking', 'deprecation', 'new_component', 'enhancement', 'bug_fix'
change_type: breaking

# The name of the component, or a single word describing the area of concern, (e.g. otlpreceiver)
component: confmap

# A brief description of the change. Surround your text with quotes ("") if it needs to start with a backtick (`).
note: Remove unused public member `sync.Mutex` from `confmap.Resolver`.

# One or more tracking issues or pull requests related to the change
issues: [6489]

# (Optional) One or more lines of additional information to render under the primary note.
# These lines will be padded with 2 spaces and then inserted directly into the document.
# Use pipe (|) for multiline entries.
subtext: This is an exception from the deprecation rule since this is not used anywhere and it is very unlikely that is used by external users.
2 changes: 0 additions & 2 deletions confmap/resolver.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ import (
"fmt"
"regexp"
"strings"
"sync"

"go.uber.org/multierr"

Expand Down Expand Up @@ -57,7 +56,6 @@ type Resolver struct {
providers map[string]Provider
converters []Converter

sync.Mutex
closers []CloseFunc
watcher chan error
}
Expand Down

0 comments on commit f411094

Please sign in to comment.