loki: add cookie-handling functionality (#49978)

This commit is contained in:
Gábor Farkas
2022-06-02 11:52:27 +02:00
committed by GitHub
parent d7139e75fb
commit 46d6573968
5 changed files with 111 additions and 76 deletions
+1 -1
View File
@@ -37,5 +37,5 @@ func makeMockedAPI(statusCode int, contentType string, responseBytes []byte, req
Transport: &mockedRoundTripper{statusCode: statusCode, contentType: contentType, responseBytes: responseBytes, requestCallback: requestCallback},
}
return newLokiAPI(&client, "http://localhost:9999", log.New("test"), "")
return newLokiAPI(&client, "http://localhost:9999", log.New("test"), nil)
}