Skip to content

Commit 9ae4d23

Browse files
committed
change fallback log from info to warn
Signed-off-by: Mangaal <[email protected]>
1 parent 7b5a7eb commit 9ae4d23

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

util/cache/cache.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ func loadRedisCredsFromSecret(mountPath string, opt Options) *redisCreds {
147147
readAuthDetailsFromFile := func(filename string) string {
148148
data, err := os.ReadFile(filepath.Join(mountPath, filename))
149149
if err != nil {
150-
log.Infof("Could not read Redis credential file %s: %v. Falling back to environment variable if available.", filepath.Join(mountPath, filename), err)
150+
log.Warnf("Could not read Redis credential file %s: %v. Falling back to environment variable if available.", filepath.Join(mountPath, filename), err)
151151
return ""
152152
}
153153
return strings.TrimSpace(string(data))

0 commit comments

Comments
 (0)