mirror of
https://github.com/eko/pihole-exporter.git
synced 2024-12-22 15:57:45 +01:00
Merge branch 'master' into async
This commit is contained in:
commit
479456edc4
@ -58,7 +58,7 @@ func NewClient(config *config.Config) *Client {
|
||||
os.Exit(1)
|
||||
}
|
||||
|
||||
fmt.Printf("Creating client with config %s\n", config)
|
||||
log.Printf("Creating client with config %s\n", config)
|
||||
|
||||
return &Client{
|
||||
config: config,
|
||||
|
3
main.go
3
main.go
@ -1,7 +1,6 @@
|
||||
package main
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
"log"
|
||||
|
||||
"github.com/eko/pihole-exporter/config"
|
||||
@ -41,7 +40,7 @@ func main() {
|
||||
case <-serverDead:
|
||||
}
|
||||
|
||||
fmt.Println("pihole-exporter HTTP server stopped")
|
||||
log.Println("pihole-exporter HTTP server stopped")
|
||||
}
|
||||
|
||||
func buildClients(clientConfigs []config.Config) []*pihole.Client {
|
||||
|
Loading…
Reference in New Issue
Block a user