From ace40d5502101a3683ccc2d31ff6efed2e11d695 Mon Sep 17 00:00:00 2001 From: bryanqiu Date: Fri, 21 Jun 2024 17:29:37 +0800 Subject: [PATCH] fix:mastername --- sentinel/sentinel.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sentinel/sentinel.go b/sentinel/sentinel.go index af78a0c..e09ed97 100644 --- a/sentinel/sentinel.go +++ b/sentinel/sentinel.go @@ -16,7 +16,7 @@ import ( type Config struct { Debug bool `toml:"debug"` //调试开关(会在日志打印REDIS语句) - Master string `toml:"mastername"` //REDIS主host&port 与 MasterName 互斥 + Master string `toml:"master"` //REDIS主host&port 与 MasterName 互斥 MasterName string `toml:"mastername"` //REDIS主名称,值不为空是启动sentinal模式, 与Master互斥 Username string `toml:"username"` //REDIS连接用户名 Password string `toml:"password"` //REDIS连接用户密码