mirror of
https://github.com/eko/pihole-exporter.git
synced 2024-11-04 08:39:55 +01:00
Fix wrong log function
This commit is contained in:
parent
6fdcc9bb16
commit
c2437c8246
@ -159,7 +159,7 @@ func (c *Client) getPHPSessionID() (sessionID string) {
|
||||
|
||||
resp, err := c.httpClient.Do(req)
|
||||
if err != nil {
|
||||
log.Error("An error has occured during login to PI-Hole: %v", err)
|
||||
log.Errorf("An error has occured during login to PI-Hole: %v", err)
|
||||
}
|
||||
|
||||
for _, cookie := range resp.Cookies() {
|
||||
|
Loading…
Reference in New Issue
Block a user