Updating logs from fmt to package log

This commit is contained in:
🐙PiperYxzzy
2022-08-06 23:35:42 +02:00
parent a3e2c4012a
commit b198814aa7
4 changed files with 21 additions and 18 deletions

View File

@@ -1,7 +1,7 @@
package controllers
import (
"fmt"
"log"
"net/http"
"regexp"
"time"
@@ -37,7 +37,7 @@ func (b *bucket) take(resource string) bool {
if !regexMatched {
// Default to Global
fmt.Printf("defaulting %v to global\n", resource)
log.Printf("defaulting %v to global\n", resource)
resource = ""
r = (*b.rules)[resource]
}