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

Remove deprecated service.State enum values. #6605

Merged
merged 1 commit into from
Nov 22, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
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
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