Skip to content

Commit

Permalink
add username when create redis client (#1862)
Browse files Browse the repository at this point in the history
  • Loading branch information
walleliu1016 authored and gaius-qi committed Jun 28, 2023
1 parent 68172ee commit 91f6760
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions scheduler/job/job.go
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ type job struct {
func New(cfg *config.Config, resource resource.Resource) (Job, error) {
redisConfig := &internaljob.Config{
Addrs: cfg.Job.Redis.Addrs,
Username: cfg.Job.Redis.Username,
Password: cfg.Job.Redis.Password,
BrokerDB: cfg.Job.Redis.BrokerDB,
BackendDB: cfg.Job.Redis.BackendDB,
Expand Down

0 comments on commit 91f6760

Please sign in to comment.