From 180bdf07b4c590f35337455ef979fffbcd899829 Mon Sep 17 00:00:00 2001 From: geffzhang Date: Fri, 2 Nov 2018 15:40:25 +0800 Subject: [PATCH] =?UTF-8?q?feat=EF=BC=9A=20delete=20unused=20code?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- BotSharp.Core/AgentStorage/AgentStorageInRedis.cs | 2 -- 1 file changed, 2 deletions(-) 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) {