Updating logs from fmt to package log
This commit is contained in:
@@ -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]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user