From f042d8398f78428f70b48139ee37ed2ff86f6a4c Mon Sep 17 00:00:00 2001 From: Robert Laurin Date: Tue, 16 Jun 2020 12:06:20 -0400 Subject: [PATCH] Update copyright year, revert incorrect comment --- resource-detectors/Gemfile | 2 +- resource-detectors/lib/opentelemetry/resource/detectors.rb | 2 +- .../lib/opentelemetry/resource/detectors/auto_detector.rb | 2 +- .../resource/detectors/google_cloud_platform.rb | 2 +- .../lib/opentelemetry/resource/detectors/version.rb | 2 +- .../test/opentelemetry/detectors/auto_detector_test.rb | 2 +- .../opentelemetry/detectors/google_cloud_platform_test.rb | 2 +- resource-detectors/test/test_helper.rb | 2 +- sdk/lib/opentelemetry/sdk/resources/constants.rb | 2 +- sdk/lib/opentelemetry/sdk/trace/tracer.rb | 5 +++-- 10 files changed, 12 insertions(+), 11 deletions(-) diff --git a/resource-detectors/Gemfile b/resource-detectors/Gemfile index eb2f2f9b3..4ef4addd6 100644 --- a/resource-detectors/Gemfile +++ b/resource-detectors/Gemfile @@ -1,6 +1,6 @@ # frozen_string_literal: true -# Copyright 2019 OpenTelemetry Authors +# Copyright 2020 OpenTelemetry Authors # # SPDX-License-Identifier: Apache-2.0 diff --git a/resource-detectors/lib/opentelemetry/resource/detectors.rb b/resource-detectors/lib/opentelemetry/resource/detectors.rb index b86b19e82..acb08aacd 100644 --- a/resource-detectors/lib/opentelemetry/resource/detectors.rb +++ b/resource-detectors/lib/opentelemetry/resource/detectors.rb @@ -1,6 +1,6 @@ # frozen_string_literal: true -# Copyright 2019 OpenTelemetry Authors +# Copyright 2020 OpenTelemetry Authors # # SPDX-License-Identifier: Apache-2.0 diff --git a/resource-detectors/lib/opentelemetry/resource/detectors/auto_detector.rb b/resource-detectors/lib/opentelemetry/resource/detectors/auto_detector.rb index ec3201428..98cb23e69 100644 --- a/resource-detectors/lib/opentelemetry/resource/detectors/auto_detector.rb +++ b/resource-detectors/lib/opentelemetry/resource/detectors/auto_detector.rb @@ -1,6 +1,6 @@ # frozen_string_literal: true -# Copyright 2019 OpenTelemetry Authors +# Copyright 2020 OpenTelemetry Authors # # SPDX-License-Identifier: Apache-2.0 diff --git a/resource-detectors/lib/opentelemetry/resource/detectors/google_cloud_platform.rb b/resource-detectors/lib/opentelemetry/resource/detectors/google_cloud_platform.rb index e9ff7359e..612e90fc8 100644 --- a/resource-detectors/lib/opentelemetry/resource/detectors/google_cloud_platform.rb +++ b/resource-detectors/lib/opentelemetry/resource/detectors/google_cloud_platform.rb @@ -1,6 +1,6 @@ # frozen_string_literal: true -# Copyright 2019 OpenTelemetry Authors +# Copyright 2020 OpenTelemetry Authors # # SPDX-License-Identifier: Apache-2.0 diff --git a/resource-detectors/lib/opentelemetry/resource/detectors/version.rb b/resource-detectors/lib/opentelemetry/resource/detectors/version.rb index c422b3ad6..85a01c109 100644 --- a/resource-detectors/lib/opentelemetry/resource/detectors/version.rb +++ b/resource-detectors/lib/opentelemetry/resource/detectors/version.rb @@ -1,6 +1,6 @@ # frozen_string_literal: true -# Copyright 2019 OpenTelemetry Authors +# Copyright 2020 OpenTelemetry Authors # # SPDX-License-Identifier: Apache-2.0 diff --git a/resource-detectors/test/opentelemetry/detectors/auto_detector_test.rb b/resource-detectors/test/opentelemetry/detectors/auto_detector_test.rb index bcff0aa06..ce2653089 100644 --- a/resource-detectors/test/opentelemetry/detectors/auto_detector_test.rb +++ b/resource-detectors/test/opentelemetry/detectors/auto_detector_test.rb @@ -1,6 +1,6 @@ # frozen_string_literal: true -# Copyright 2019 OpenTelemetry Authors +# Copyright 2020 OpenTelemetry Authors # # SPDX-License-Identifier: Apache-2.0 diff --git a/resource-detectors/test/opentelemetry/detectors/google_cloud_platform_test.rb b/resource-detectors/test/opentelemetry/detectors/google_cloud_platform_test.rb index 074476e96..7fd5a8c0d 100644 --- a/resource-detectors/test/opentelemetry/detectors/google_cloud_platform_test.rb +++ b/resource-detectors/test/opentelemetry/detectors/google_cloud_platform_test.rb @@ -1,6 +1,6 @@ # frozen_string_literal: true -# Copyright 2019 OpenTelemetry Authors +# Copyright 2020 OpenTelemetry Authors # # SPDX-License-Identifier: Apache-2.0 diff --git a/resource-detectors/test/test_helper.rb b/resource-detectors/test/test_helper.rb index cd4c67241..4d73d382e 100644 --- a/resource-detectors/test/test_helper.rb +++ b/resource-detectors/test/test_helper.rb @@ -1,6 +1,6 @@ # frozen_string_literal: true -# Copyright 2019 OpenTelemetry Authors +# Copyright 2020 OpenTelemetry Authors # # SPDX-License-Identifier: Apache-2.0 diff --git a/sdk/lib/opentelemetry/sdk/resources/constants.rb b/sdk/lib/opentelemetry/sdk/resources/constants.rb index 8a02fdb6e..6f7637292 100644 --- a/sdk/lib/opentelemetry/sdk/resources/constants.rb +++ b/sdk/lib/opentelemetry/sdk/resources/constants.rb @@ -1,6 +1,6 @@ # frozen_string_literal: true -# Copyright 2019 OpenTelemetry Authors +# Copyright 2020 OpenTelemetry Authors # # SPDX-License-Identifier: Apache-2.0 diff --git a/sdk/lib/opentelemetry/sdk/trace/tracer.rb b/sdk/lib/opentelemetry/sdk/trace/tracer.rb index a602e4c04..ac3f1a304 100644 --- a/sdk/lib/opentelemetry/sdk/trace/tracer.rb +++ b/sdk/lib/opentelemetry/sdk/trace/tracer.rb @@ -1,6 +1,6 @@ # frozen_string_literal: true -# Copyright 2019 OpenTelemetry Authors +# Copyright 2020 OpenTelemetry Authors # # SPDX-License-Identifier: Apache-2.0 @@ -16,7 +16,8 @@ class Tracer < OpenTelemetry::Trace::Tracer # # Returns a new {Tracer} instance. # - # @param [InstrumentationLibrary] resource Containing name and version arguments supplied to the TracerProvider + # @param [String] name Instrumentation package name + # @param [String] version Instrumentation package version # # @return [Tracer] def initialize(name, version)