Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
kizuna-lek committed Jan 6, 2025
1 parent fec4848 commit 8131ab1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/lorry/engines/redis/manager.go
Original file line number Diff line number Diff line change
Expand Up @@ -77,12 +77,12 @@ func NewManager(properties engines.Properties) (engines.DBManager, error) {
roleProbePeriod: int64(viper.GetInt(constant.KBEnvRoleProbePeriod)),
}

maJorVersion, err := getRedisMajorVersion()
majorVersion, err := getRedisMajorVersion()
if err != nil {
return nil, err
}
// The username is supported after 6.0
if maJorVersion < 6 {
if majorVersion < 6 {
redisUser = ""
}

Expand Down

0 comments on commit 8131ab1

Please sign in to comment.