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:
parent
6ad6b44433
commit
1a218615d8
1 changed files with 1 additions and 1 deletions
|
|
@ -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")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue