From f2c76d50a79611814dabe22f83157b3468bdc552 Mon Sep 17 00:00:00 2001 From: Yang Hu Date: Fri, 28 Aug 2020 10:49:08 -0500 Subject: [PATCH] increase coverage --- exporter/prometheusremotewriteexporter/config_test.go | 1 + exporter/prometheusremotewriteexporter/exporter.go | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/exporter/prometheusremotewriteexporter/config_test.go b/exporter/prometheusremotewriteexporter/config_test.go index 29a3b535718..73927b35cff 100644 --- a/exporter/prometheusremotewriteexporter/config_test.go +++ b/exporter/prometheusremotewriteexporter/config_test.go @@ -67,6 +67,7 @@ func Test_loadConfig(t *testing.T) { MaxElapsedTime: 10 * time.Minute, }, Namespace: "test-space", + HTTPClientSettings: confighttp.HTTPClientSettings{ Endpoint: "localhost:8888", TLSSetting: configtls.TLSClientSetting{ diff --git a/exporter/prometheusremotewriteexporter/exporter.go b/exporter/prometheusremotewriteexporter/exporter.go index 81261812500..bea08e408db 100644 --- a/exporter/prometheusremotewriteexporter/exporter.go +++ b/exporter/prometheusremotewriteexporter/exporter.go @@ -4,7 +4,7 @@ // 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,