From 1b903ad8cc21071767b7fb12e7877caad7919013 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Markus=20Th=C3=B6mmes?= Date: Wed, 29 Apr 2020 17:38:42 +0200 Subject: [PATCH] Fix malformed license headers. (#1258) --- configmap/testing/configmap.go | 1 + metrics/doc.go | 3 +++ metrics/exporter.go | 3 +++ metrics/metricstest/metricstest.go | 3 ++- metrics/opencensus_exporter.go | 3 +++ metrics/prometheus_exporter.go | 3 +++ network/h2c.go | 1 + network/transports.go | 1 + network/transports_test.go | 1 + websocket/hijack.go | 3 +++ 10 files changed, 21 insertions(+), 1 deletion(-) diff --git a/configmap/testing/configmap.go b/configmap/testing/configmap.go index a013b2356..d50dfe610 100644 --- a/configmap/testing/configmap.go +++ b/configmap/testing/configmap.go @@ -1,5 +1,6 @@ /* Copyright 2019 The Knative 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/metrics/doc.go b/metrics/doc.go index 631bb5966..9869aa83e 100644 --- a/metrics/doc.go +++ b/metrics/doc.go @@ -1,9 +1,12 @@ /* Copyright 2018 The Knative 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. diff --git a/metrics/exporter.go b/metrics/exporter.go index a219221d1..f3f0006e4 100644 --- a/metrics/exporter.go +++ b/metrics/exporter.go @@ -1,9 +1,12 @@ /* Copyright 2018 The Knative 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. diff --git a/metrics/metricstest/metricstest.go b/metrics/metricstest/metricstest.go index 0e967c83b..7cf8df8cc 100644 --- a/metrics/metricstest/metricstest.go +++ b/metrics/metricstest/metricstest.go @@ -1,10 +1,11 @@ /* Copyright 2019 The Knative 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 + 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, diff --git a/metrics/opencensus_exporter.go b/metrics/opencensus_exporter.go index 2a54f6c60..5e3924646 100644 --- a/metrics/opencensus_exporter.go +++ b/metrics/opencensus_exporter.go @@ -1,9 +1,12 @@ /* Copyright 2020 The Knative 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. diff --git a/metrics/prometheus_exporter.go b/metrics/prometheus_exporter.go index b83b23a0d..8c3f462ac 100644 --- a/metrics/prometheus_exporter.go +++ b/metrics/prometheus_exporter.go @@ -1,9 +1,12 @@ /* Copyright 2019 The Knative 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. diff --git a/network/h2c.go b/network/h2c.go index 683bbebe0..02c5be413 100644 --- a/network/h2c.go +++ b/network/h2c.go @@ -1,5 +1,6 @@ /* Copyright 2019 The Knative 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/network/transports.go b/network/transports.go index 35747fa34..b6d9d53d4 100644 --- a/network/transports.go +++ b/network/transports.go @@ -1,5 +1,6 @@ /* Copyright 2019 The Knative 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/network/transports_test.go b/network/transports_test.go index a3958f045..ab4fbdfa8 100644 --- a/network/transports_test.go +++ b/network/transports_test.go @@ -1,5 +1,6 @@ /* Copyright 2019 The Knative 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/websocket/hijack.go b/websocket/hijack.go index f1ac07573..763dca09d 100644 --- a/websocket/hijack.go +++ b/websocket/hijack.go @@ -1,9 +1,12 @@ /* Copyright 2019 The Knative 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.