diff --git a/BotSharp.Core/AgentStorage/AgentStorageInRedis.cs b/BotSharp.Core/AgentStorage/AgentStorageInRedis.cs index d2364ecb..911a763a 100644 --- a/BotSharp.Core/AgentStorage/AgentStorageInRedis.cs +++ b/BotSharp.Core/AgentStorage/AgentStorageInRedis.cs @@ -46,8 +46,6 @@ namespace BotSharp.Core.AgentStorage public async Task FetchByName(string agentName) { - var agents = new List(); - var keys = csredis.Keys($"{prefix}*"); foreach (string key in keys) {