1
0
Fork 0
mirror of https://github.com/eosswedenorg/thalos synced 2026-06-16 04:24:56 +02:00

cmd/thalos/server.go: dont print the length of password to log.

This commit is contained in:
Henrik Hautakoski 2025-02-18 17:55:19 +01:00
parent 6ad6b44433
commit 1a218615d8

View file

@ -253,7 +253,7 @@ func ConnectRedis(conf *config.RedisConfig) (*redis.Client, error) {
}
if len(conf.Password) > 0 {
logEntry = logEntry.WithField("password", strings.Repeat("*", len(conf.Password)))
logEntry = logEntry.WithField("password", strings.Repeat("*", 10))
}
logEntry.Info("Connecting to redis")