diff --git a/main_test.go b/main_test.go index 204cd4d..e54ceb3 100644 --- a/main_test.go +++ b/main_test.go @@ -17,7 +17,7 @@ func TestQueryExporter(t *testing.T) { time.Sleep(2 * time.Second) - samples, err := QueryExporter("http://localhost:7777/metrics", ExporterAuth{User: "", Password: "", Header: ""}) + samples, err := QueryExporter("http://localhost:7777/metrics", ExporterAuth{User: "", Password: "", Header: ""}, false) assert.NoError(t, err) assert.NotNil(t, samples)