From 9153f82f7c482d7986235aa83cb0b5f1919fc4c8 Mon Sep 17 00:00:00 2001 From: Bogdan Drutu Date: Fri, 9 Dec 2022 10:18:16 -0800 Subject: [PATCH] Remove deprecated servicetest package. (#6724) Signed-off-by: Bogdan Drutu Signed-off-by: Bogdan Drutu --- .chloggen/rmservicetest.yaml | 11 +++++++++++ service/servicetest/deprecated.go | 25 ------------------------- 2 files changed, 11 insertions(+), 25 deletions(-) create mode 100755 .chloggen/rmservicetest.yaml delete mode 100644 service/servicetest/deprecated.go diff --git a/.chloggen/rmservicetest.yaml b/.chloggen/rmservicetest.yaml new file mode 100755 index 000000000000..8632a120b933 --- /dev/null +++ b/.chloggen/rmservicetest.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: servicetest + +# A brief description of the change. Surround your text with quotes ("") if it needs to start with a backtick (`). +note: Remove deprecated `servicetest` package. + +# One or more tracking issues or pull requests related to the change +issues: [5564] diff --git a/service/servicetest/deprecated.go b/service/servicetest/deprecated.go deleted file mode 100644 index 010b2ab6d56f..000000000000 --- a/service/servicetest/deprecated.go +++ /dev/null @@ -1,25 +0,0 @@ -// Copyright The OpenTelemetry Authors -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -package servicetest // import "go.opentelemetry.io/collector/service/servicetest" - -import ( - "go.opentelemetry.io/collector/otelcol/otelcoltest" -) - -// Deprecated: [v0.67.0] use otelcoltest.LoadConfig -var LoadConfig = otelcoltest.LoadConfig - -// Deprecated: [v0.67.0] use otelcoltest.LoadConfigAndValidate -var LoadConfigAndValidate = otelcoltest.LoadConfigAndValidate