From d668b0f45fda9116e0bff47fffeaa9bcd522b7e4 Mon Sep 17 00:00:00 2001 From: drivebyer Date: Tue, 14 Jan 2025 21:24:32 +0800 Subject: [PATCH] fix master Signed-off-by: drivebyer --- tests/data-assert/main.go | 2 +- tests/data-assert/resources.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/data-assert/main.go b/tests/data-assert/main.go index a8d19055f..55c6f8648 100644 --- a/tests/data-assert/main.go +++ b/tests/data-assert/main.go @@ -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, }) diff --git a/tests/data-assert/resources.yaml b/tests/data-assert/resources.yaml index f7ed8a543..94c1835e5 100644 --- a/tests/data-assert/resources.yaml +++ b/tests/data-assert/resources.yaml @@ -88,7 +88,7 @@ data: }) case "sentinel": rdb = redis.NewFailoverClient(&redis.FailoverOptions{ - MasterName: "mymaster", + MasterName: "myMaster", SentinelAddrs: hosts, Password: pass, })