Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
Signed-off-by: drivebyer <wuyangmuc@gmail.com>
  • Loading branch information
drivebyer committed Jan 16, 2025
1 parent c6fef9d commit ee4ec4e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions tests/data-assert/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ func genRedisDataCmd(cmd *cobra.Command, args []string) {
})
case "sentinel":
rdb = redis.NewFailoverClient(&redis.FailoverOptions{
MasterName: "mymaster",
MasterName: "myMaster",
SentinelAddrs: hosts,
Password: pass,
})
Expand Down Expand Up @@ -145,7 +145,7 @@ func checkRedisData() error {
})
case "sentinel":
rdb = redis.NewFailoverClient(&redis.FailoverOptions{
MasterName: "mymaster",
MasterName: "myMaster",
SentinelAddrs: hosts,
Password: pass,
})
Expand Down
4 changes: 2 additions & 2 deletions tests/data-assert/resources.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ data:
})
case "sentinel":
rdb = redis.NewFailoverClient(&redis.FailoverOptions{
MasterName: "mymaster",
MasterName: "myMaster",
SentinelAddrs: hosts,
Password: pass,
})
Expand Down Expand Up @@ -152,7 +152,7 @@ data:
})
case "sentinel":
rdb = redis.NewFailoverClient(&redis.FailoverOptions{
MasterName: "mymaster",
MasterName: "myMaster",
SentinelAddrs: hosts,
Password: pass,
})
Expand Down

0 comments on commit ee4ec4e

Please sign in to comment.