diff --git a/.chloggen/rmdepcollector.yaml b/.chloggen/rmdepcollector.yaml new file mode 100755 index 00000000000..c413c5bf40e --- /dev/null +++ b/.chloggen/rmdepcollector.yaml @@ -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] diff --git a/service/collector.go b/service/collector.go index 4250e9874a5..7e460871b6f 100644 --- a/service/collector.go +++ b/service/collector.go @@ -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: