Skip to content

Commit

Permalink
provider: ensure type of DefaultLogger is *defaultLogger
Browse files Browse the repository at this point in the history
  • Loading branch information
mozillazg committed Sep 4, 2024
1 parent d42267e commit a4d1334
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/credentials/provider/log.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ type Logger interface {
}

var defaultLog Logger = &defaultLogger{}
var DefaultLogger = defaultLog
var DefaultLogger = defaultLog.(*defaultLogger)

func init() {
debugEnv := strings.Split(strings.ToLower(os.Getenv("DEBUG")), ",")
Expand Down

0 comments on commit a4d1334

Please sign in to comment.