fix logger

This commit is contained in:
Balakrishnan Balasubramanian 2022-06-20 15:49:55 -04:00
parent 962c533fff
commit 7177fe8211
4 changed files with 8 additions and 8 deletions

View File

@ -16,8 +16,8 @@ import (
var log = logr.Discard() var log = logr.Discard()
func SetLogger(log logr.Logger) { func SetLogger(l logr.Logger) {
log = log log = l
} }
func Run(configPath string) error { func Run(configPath string) error {

View File

@ -15,8 +15,8 @@ import (
var log = logr.Discard() var log = logr.Discard()
func SetLogger(log logr.Logger) { func SetLogger(l logr.Logger) {
log = log log = l
} }
type Status string type Status string

View File

@ -14,8 +14,8 @@ import (
var log = logr.Discard() var log = logr.Discard()
func SetLogger(log logr.Logger) { func SetLogger(l logr.Logger) {
log = log log = l
} }
type Scheduler interface { type Scheduler interface {

View File

@ -16,8 +16,8 @@ import (
var log = logr.Discard() var log = logr.Discard()
func SetLogger(log logr.Logger) { func SetLogger(l logr.Logger) {
log = log log = l
} }
type TelegramSender interface { type TelegramSender interface {