Skip to content

Commit ee4ec4e

Browse files
committed
fix
Signed-off-by: drivebyer <wuyangmuc@gmail.com>
1 parent c6fef9d commit ee4ec4e

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

tests/data-assert/main.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ func genRedisDataCmd(cmd *cobra.Command, args []string) {
8181
})
8282
case "sentinel":
8383
rdb = redis.NewFailoverClient(&redis.FailoverOptions{
84-
MasterName: "mymaster",
84+
MasterName: "myMaster",
8585
SentinelAddrs: hosts,
8686
Password: pass,
8787
})
@@ -145,7 +145,7 @@ func checkRedisData() error {
145145
})
146146
case "sentinel":
147147
rdb = redis.NewFailoverClient(&redis.FailoverOptions{
148-
MasterName: "mymaster",
148+
MasterName: "myMaster",
149149
SentinelAddrs: hosts,
150150
Password: pass,
151151
})

tests/data-assert/resources.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ data:
8888
})
8989
case "sentinel":
9090
rdb = redis.NewFailoverClient(&redis.FailoverOptions{
91-
MasterName: "mymaster",
91+
MasterName: "myMaster",
9292
SentinelAddrs: hosts,
9393
Password: pass,
9494
})
@@ -152,7 +152,7 @@ data:
152152
})
153153
case "sentinel":
154154
rdb = redis.NewFailoverClient(&redis.FailoverOptions{
155-
MasterName: "mymaster",
155+
MasterName: "myMaster",
156156
SentinelAddrs: hosts,
157157
Password: pass,
158158
})

0 commit comments

Comments
 (0)