From d1e5b4e938ac50525cdedb32436752ade30885c6 Mon Sep 17 00:00:00 2001 From: Joe Adams Date: Tue, 1 Apr 2025 22:08:19 -0400 Subject: [PATCH] Remove copyright dates This should help when PRs are open through a year change. These dates aren't necessary and the CNCF does not recommend keeping them. https://github.com/cncf/foundation/blob/main/copyright-notices.md Signed-off-by: Joe Adams --- collector/cluster_health.go | 2 +- collector/cluster_health_response.go | 2 +- collector/cluster_health_test.go | 2 +- collector/cluster_info.go | 2 +- collector/cluster_info_test.go | 2 +- collector/cluster_settings.go | 2 +- collector/cluster_settings_test.go | 2 +- collector/collector.go | 2 +- collector/collector_test.go | 2 +- collector/data_stream.go | 2 +- collector/data_stream_test.go | 2 +- collector/ilm.go | 2 +- collector/ilm_test.go | 2 +- collector/indices.go | 2 +- collector/indices_mappings.go | 2 +- collector/indices_mappings_response.go | 2 +- collector/indices_mappings_test.go | 2 +- collector/indices_response.go | 2 +- collector/indices_settings.go | 2 +- collector/indices_settings_response.go | 2 +- collector/indices_settings_test.go | 2 +- collector/indices_test.go | 2 +- collector/nodes.go | 2 +- collector/nodes_response.go | 2 +- collector/nodes_test.go | 2 +- collector/shards.go | 2 +- collector/shards_test.go | 2 +- collector/slm.go | 2 +- collector/slm_test.go | 2 +- collector/snapshots.go | 2 +- collector/snapshots_reponse.go | 2 +- collector/snapshots_test.go | 2 +- collector/tasks.go | 2 +- collector/tasks_test.go | 2 +- collector/util.go | 2 +- main.go | 2 +- pkg/clusterinfo/clusterinfo.go | 2 +- pkg/clusterinfo/clusterinfo_response.go | 2 +- pkg/clusterinfo/clusterinfo_test.go | 2 +- pkg/roundtripper/roundtripper.go | 2 +- tls.go | 2 +- 41 files changed, 41 insertions(+), 41 deletions(-) diff --git a/collector/cluster_health.go b/collector/cluster_health.go index 303838e8..a6924df6 100644 --- a/collector/cluster_health.go +++ b/collector/cluster_health.go @@ -1,4 +1,4 @@ -// Copyright 2021 The Prometheus Authors +// Copyright The Prometheus 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 diff --git a/collector/cluster_health_response.go b/collector/cluster_health_response.go index 1cc8051d..4b3f9151 100644 --- a/collector/cluster_health_response.go +++ b/collector/cluster_health_response.go @@ -1,4 +1,4 @@ -// Copyright 2021 The Prometheus Authors +// Copyright The Prometheus 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 diff --git a/collector/cluster_health_test.go b/collector/cluster_health_test.go index fd3e887e..c36e44e6 100644 --- a/collector/cluster_health_test.go +++ b/collector/cluster_health_test.go @@ -1,4 +1,4 @@ -// Copyright 2021 The Prometheus Authors +// Copyright The Prometheus 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 diff --git a/collector/cluster_info.go b/collector/cluster_info.go index 5dafb9b9..6e489a84 100644 --- a/collector/cluster_info.go +++ b/collector/cluster_info.go @@ -1,4 +1,4 @@ -// Copyright 2022 The Prometheus Authors +// Copyright The Prometheus 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 diff --git a/collector/cluster_info_test.go b/collector/cluster_info_test.go index d7d12bc2..dda89f9f 100644 --- a/collector/cluster_info_test.go +++ b/collector/cluster_info_test.go @@ -1,4 +1,4 @@ -// Copyright 2023 The Prometheus Authors +// Copyright The Prometheus 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 diff --git a/collector/cluster_settings.go b/collector/cluster_settings.go index 35ee97f5..cce2242b 100644 --- a/collector/cluster_settings.go +++ b/collector/cluster_settings.go @@ -1,4 +1,4 @@ -// Copyright 2021 The Prometheus Authors +// Copyright The Prometheus 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 diff --git a/collector/cluster_settings_test.go b/collector/cluster_settings_test.go index 52c41a1e..28de33ec 100644 --- a/collector/cluster_settings_test.go +++ b/collector/cluster_settings_test.go @@ -1,4 +1,4 @@ -// Copyright 2021 The Prometheus Authors +// Copyright The Prometheus 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 diff --git a/collector/collector.go b/collector/collector.go index 38de96ce..86e4d70c 100644 --- a/collector/collector.go +++ b/collector/collector.go @@ -1,4 +1,4 @@ -// Copyright 2022 The Prometheus Authors +// Copyright The Prometheus 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 diff --git a/collector/collector_test.go b/collector/collector_test.go index 80c7fa5d..84c6d03e 100644 --- a/collector/collector_test.go +++ b/collector/collector_test.go @@ -1,4 +1,4 @@ -// Copyright 2023 The Prometheus Authors +// Copyright The Prometheus 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 diff --git a/collector/data_stream.go b/collector/data_stream.go index ef67758e..0b913fac 100644 --- a/collector/data_stream.go +++ b/collector/data_stream.go @@ -1,4 +1,4 @@ -// Copyright 2022 The Prometheus Authors +// Copyright The Prometheus 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 diff --git a/collector/data_stream_test.go b/collector/data_stream_test.go index c5e6853b..5d054d93 100644 --- a/collector/data_stream_test.go +++ b/collector/data_stream_test.go @@ -1,4 +1,4 @@ -// Copyright 2022 The Prometheus Authors +// Copyright The Prometheus 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 diff --git a/collector/ilm.go b/collector/ilm.go index a8216a6d..d978bc8e 100644 --- a/collector/ilm.go +++ b/collector/ilm.go @@ -1,4 +1,4 @@ -// Copyright 2025 The Prometheus Authors +// Copyright The Prometheus 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 diff --git a/collector/ilm_test.go b/collector/ilm_test.go index 5775b0f5..66d8b5ec 100644 --- a/collector/ilm_test.go +++ b/collector/ilm_test.go @@ -1,4 +1,4 @@ -// Copyright 2025 The Prometheus Authors +// Copyright The Prometheus 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 diff --git a/collector/indices.go b/collector/indices.go index a3b2fdac..b21e2256 100644 --- a/collector/indices.go +++ b/collector/indices.go @@ -1,4 +1,4 @@ -// Copyright 2021 The Prometheus Authors +// Copyright The Prometheus 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 diff --git a/collector/indices_mappings.go b/collector/indices_mappings.go index 21f119a1..336293cb 100644 --- a/collector/indices_mappings.go +++ b/collector/indices_mappings.go @@ -1,4 +1,4 @@ -// Copyright 2021 The Prometheus Authors +// Copyright The Prometheus 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 diff --git a/collector/indices_mappings_response.go b/collector/indices_mappings_response.go index 3c54b3f7..0a341d63 100644 --- a/collector/indices_mappings_response.go +++ b/collector/indices_mappings_response.go @@ -1,4 +1,4 @@ -// Copyright 2021 The Prometheus Authors +// Copyright The Prometheus 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 diff --git a/collector/indices_mappings_test.go b/collector/indices_mappings_test.go index 73a2b423..9eeb97b8 100644 --- a/collector/indices_mappings_test.go +++ b/collector/indices_mappings_test.go @@ -1,4 +1,4 @@ -// Copyright 2021 The Prometheus Authors +// Copyright The Prometheus 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 diff --git a/collector/indices_response.go b/collector/indices_response.go index b048960c..d42773bc 100644 --- a/collector/indices_response.go +++ b/collector/indices_response.go @@ -1,4 +1,4 @@ -// Copyright 2021 The Prometheus Authors +// Copyright The Prometheus 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 diff --git a/collector/indices_settings.go b/collector/indices_settings.go index 9bcc2d70..2de85eed 100644 --- a/collector/indices_settings.go +++ b/collector/indices_settings.go @@ -1,4 +1,4 @@ -// Copyright 2021 The Prometheus Authors +// Copyright The Prometheus 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 diff --git a/collector/indices_settings_response.go b/collector/indices_settings_response.go index cac3ee0b..c6b90080 100644 --- a/collector/indices_settings_response.go +++ b/collector/indices_settings_response.go @@ -1,4 +1,4 @@ -// Copyright 2021 The Prometheus Authors +// Copyright The Prometheus 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 diff --git a/collector/indices_settings_test.go b/collector/indices_settings_test.go index c5abffd4..e1d65807 100644 --- a/collector/indices_settings_test.go +++ b/collector/indices_settings_test.go @@ -1,4 +1,4 @@ -// Copyright 2021 The Prometheus Authors +// Copyright The Prometheus 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 diff --git a/collector/indices_test.go b/collector/indices_test.go index 9586fcfb..33a34d08 100644 --- a/collector/indices_test.go +++ b/collector/indices_test.go @@ -1,4 +1,4 @@ -// Copyright 2021 The Prometheus Authors +// Copyright The Prometheus 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 diff --git a/collector/nodes.go b/collector/nodes.go index 2fb07693..5be51801 100644 --- a/collector/nodes.go +++ b/collector/nodes.go @@ -1,4 +1,4 @@ -// Copyright 2021 The Prometheus Authors +// Copyright The Prometheus 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 diff --git a/collector/nodes_response.go b/collector/nodes_response.go index 6ba2ad7b..1890fdcf 100644 --- a/collector/nodes_response.go +++ b/collector/nodes_response.go @@ -1,4 +1,4 @@ -// Copyright 2021 The Prometheus Authors +// Copyright The Prometheus 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 diff --git a/collector/nodes_test.go b/collector/nodes_test.go index 9e731837..3275d18e 100644 --- a/collector/nodes_test.go +++ b/collector/nodes_test.go @@ -1,4 +1,4 @@ -// Copyright 2021 The Prometheus Authors +// Copyright The Prometheus 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 diff --git a/collector/shards.go b/collector/shards.go index d9b26820..b768d633 100644 --- a/collector/shards.go +++ b/collector/shards.go @@ -1,4 +1,4 @@ -// Copyright 2022 The Prometheus Authors +// Copyright The Prometheus 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 diff --git a/collector/shards_test.go b/collector/shards_test.go index 14ba7a7b..cceac725 100644 --- a/collector/shards_test.go +++ b/collector/shards_test.go @@ -1,4 +1,4 @@ -// Copyright 2024 The Prometheus Authors +// Copyright The Prometheus 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 diff --git a/collector/slm.go b/collector/slm.go index 35aee9f2..ddc149a9 100644 --- a/collector/slm.go +++ b/collector/slm.go @@ -1,4 +1,4 @@ -// Copyright 2022 The Prometheus Authors +// Copyright The Prometheus 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 diff --git a/collector/slm_test.go b/collector/slm_test.go index 36e41328..f2b6984a 100644 --- a/collector/slm_test.go +++ b/collector/slm_test.go @@ -1,4 +1,4 @@ -// Copyright 2022 The Prometheus Authors +// Copyright The Prometheus 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 diff --git a/collector/snapshots.go b/collector/snapshots.go index 42cfc50a..7249c1cc 100644 --- a/collector/snapshots.go +++ b/collector/snapshots.go @@ -1,4 +1,4 @@ -// Copyright 2021 The Prometheus Authors +// Copyright The Prometheus 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 diff --git a/collector/snapshots_reponse.go b/collector/snapshots_reponse.go index 09bc57f8..540ff4c3 100644 --- a/collector/snapshots_reponse.go +++ b/collector/snapshots_reponse.go @@ -1,4 +1,4 @@ -// Copyright 2021 The Prometheus Authors +// Copyright The Prometheus 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 diff --git a/collector/snapshots_test.go b/collector/snapshots_test.go index cf4b2d6a..09ff057b 100644 --- a/collector/snapshots_test.go +++ b/collector/snapshots_test.go @@ -1,4 +1,4 @@ -// Copyright 2021 The Prometheus Authors +// Copyright The Prometheus 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 diff --git a/collector/tasks.go b/collector/tasks.go index faaef2da..ca751616 100644 --- a/collector/tasks.go +++ b/collector/tasks.go @@ -1,4 +1,4 @@ -// Copyright 2023 The Prometheus Authors +// Copyright The Prometheus 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 diff --git a/collector/tasks_test.go b/collector/tasks_test.go index e471eba4..95b9dc59 100644 --- a/collector/tasks_test.go +++ b/collector/tasks_test.go @@ -1,4 +1,4 @@ -// Copyright 2023 The Prometheus Authors +// Copyright The Prometheus 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 diff --git a/collector/util.go b/collector/util.go index 7aef9a21..fc1eaaa6 100644 --- a/collector/util.go +++ b/collector/util.go @@ -1,4 +1,4 @@ -// Copyright 2023 The Prometheus Authors +// Copyright The Prometheus 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 diff --git a/main.go b/main.go index 77dc9d21..b6b71b6f 100644 --- a/main.go +++ b/main.go @@ -1,4 +1,4 @@ -// Copyright 2021 The Prometheus Authors +// Copyright The Prometheus 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 diff --git a/pkg/clusterinfo/clusterinfo.go b/pkg/clusterinfo/clusterinfo.go index f47659c3..6032636c 100644 --- a/pkg/clusterinfo/clusterinfo.go +++ b/pkg/clusterinfo/clusterinfo.go @@ -1,4 +1,4 @@ -// Copyright 2021 The Prometheus Authors +// Copyright The Prometheus 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 diff --git a/pkg/clusterinfo/clusterinfo_response.go b/pkg/clusterinfo/clusterinfo_response.go index 5e384f0c..d33695fc 100644 --- a/pkg/clusterinfo/clusterinfo_response.go +++ b/pkg/clusterinfo/clusterinfo_response.go @@ -1,4 +1,4 @@ -// Copyright 2021 The Prometheus Authors +// Copyright The Prometheus 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 diff --git a/pkg/clusterinfo/clusterinfo_test.go b/pkg/clusterinfo/clusterinfo_test.go index c1803cca..b4185feb 100644 --- a/pkg/clusterinfo/clusterinfo_test.go +++ b/pkg/clusterinfo/clusterinfo_test.go @@ -1,4 +1,4 @@ -// Copyright 2021 The Prometheus Authors +// Copyright The Prometheus 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 diff --git a/pkg/roundtripper/roundtripper.go b/pkg/roundtripper/roundtripper.go index 97e33672..4c4dd026 100644 --- a/pkg/roundtripper/roundtripper.go +++ b/pkg/roundtripper/roundtripper.go @@ -1,4 +1,4 @@ -// Copyright 2022 The Prometheus Authors +// Copyright The Prometheus 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 diff --git a/tls.go b/tls.go index 0631a409..5b297257 100644 --- a/tls.go +++ b/tls.go @@ -1,4 +1,4 @@ -// Copyright 2021 The Prometheus Authors +// Copyright The Prometheus 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