Removed fmt used as log
This commit is contained in:
parent
a31d5c382f
commit
1d96b5c332
2 changed files with 2 additions and 3 deletions
|
@ -31,7 +31,7 @@ func NewClient(config *config.Config) *Client {
|
||||||
os.Exit(1)
|
os.Exit(1)
|
||||||
}
|
}
|
||||||
|
|
||||||
fmt.Printf("Creating client with config %s\n", config)
|
log.Printf("Creating client with config %s\n", config)
|
||||||
|
|
||||||
return &Client{
|
return &Client{
|
||||||
config: config,
|
config: config,
|
||||||
|
|
3
main.go
3
main.go
|
@ -1,7 +1,6 @@
|
||||||
package main
|
package main
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"fmt"
|
|
||||||
"log"
|
"log"
|
||||||
|
|
||||||
"github.com/eko/pihole-exporter/config"
|
"github.com/eko/pihole-exporter/config"
|
||||||
|
@ -41,7 +40,7 @@ func main() {
|
||||||
case <-serverDead:
|
case <-serverDead:
|
||||||
}
|
}
|
||||||
|
|
||||||
fmt.Println("pihole-exporter HTTP server stopped")
|
log.Println("pihole-exporter HTTP server stopped")
|
||||||
}
|
}
|
||||||
|
|
||||||
func buildClients(clientConfigs []config.Config) []*pihole.Client {
|
func buildClients(clientConfigs []config.Config) []*pihole.Client {
|
||||||
|
|
Loading…
Reference in a new issue