Skip to content

Commit

Permalink
Remove deprecated service.State enum values.
Browse files Browse the repository at this point in the history
Signed-off-by: Bogdan Drutu <[email protected]>
  • Loading branch information
bogdandrutu committed Nov 22, 2022
1 parent 776c6b3 commit bba60f8
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 11 deletions.
11 changes: 11 additions & 0 deletions .chloggen/rmdepcollector.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# 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: service

# A brief description of the change. Surround your text with quotes ("") if it needs to start with a backtick (`).
note: Remove deprecated `service.State` enum values.

# One or more tracking issues or pull requests related to the change
issues: [6605]
11 changes: 0 additions & 11 deletions service/collector.go
Original file line number Diff line number Diff line change
Expand Up @@ -43,17 +43,6 @@ const (
StateClosed
)

const (
// Deprecated: [v0.65.0] use StateStarting.
Starting = StateStarting
// Deprecated: [v0.65.0] use StateRunning.
Running = StateRunning
// Deprecated: [v0.65.0] use StateClosing.
Closing = StateClosing
// Deprecated: [v0.65.0] use StateClosed.
Closed = StateClosed
)

func (s State) String() string {
switch s {
case StateStarting:
Expand Down

0 comments on commit bba60f8

Please sign in to comment.