mirror of
https://github.com/coredns/coredns.git
synced 2025-10-30 01:34:21 -04:00
Move to logging package (#191)
* Updating comment to remove references to Caddy * Updating README to mark TODO items complete * Changing all debug print statements over to use logging package
This commit is contained in:
committed by
Miek Gieben
parent
3f4ec783d2
commit
3ba86f2421
@@ -1,7 +1,7 @@
|
||||
package kubernetes
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
"log"
|
||||
|
||||
"github.com/miekg/dns"
|
||||
)
|
||||
@@ -24,7 +24,7 @@ func NormalizeZoneList(zones []string) []string {
|
||||
for _, z := range zones {
|
||||
zoneConflict, _ := subzoneConflict(filteredZones, z)
|
||||
if zoneConflict {
|
||||
fmt.Printf("[WARN] new zone '%v' from Corefile conflicts with existing zones: %v\n Ignoring zone '%v'\n", z, filteredZones, z)
|
||||
log.Printf("[WARN] new zone '%v' from Corefile conflicts with existing zones: %v\n Ignoring zone '%v'\n", z, filteredZones, z)
|
||||
} else {
|
||||
filteredZones = append(filteredZones, z)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user