diff --git a/NewLife.Redis/Clusters/RedisCluster.cs b/NewLife.Redis/Clusters/RedisCluster.cs index b210275..5b9fc47 100644 --- a/NewLife.Redis/Clusters/RedisCluster.cs +++ b/NewLife.Redis/Clusters/RedisCluster.cs @@ -50,7 +50,7 @@ public void GetNodes() public void ParseNodes(String nodes) { var showLog = Nodes == null; - if (showLog) WriteLog("分析[{0}]集群节点:", Redis.Name); + if (showLog) WriteLog("分析[{0}]集群节点:", Redis?.Name); var list = new List(); foreach (var item in nodes.Split("\r", "\n"))