diff --git a/cmd/thalos/server.go b/cmd/thalos/server.go index 72ea05f..1e9b561 100644 --- a/cmd/thalos/server.go +++ b/cmd/thalos/server.go @@ -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")