From 95ed5bde9e117a46ebbabf877325789f7b1cb789 Mon Sep 17 00:00:00 2001 From: cKey <35512826+colinin@users.noreply.github.com> Date: Tue, 5 Apr 2022 11:32:09 +0800 Subject: [PATCH] fix: dynamic array size --- .../Repository/DiskFileConfigurationAggragatorRepository.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gateways/internal/LINGYUN.MicroService.Internal.ApiGateway/src/LINGYUN.MicroService.Internal.ApiGateway/Ocelot/Configuration/Repository/DiskFileConfigurationAggragatorRepository.cs b/gateways/internal/LINGYUN.MicroService.Internal.ApiGateway/src/LINGYUN.MicroService.Internal.ApiGateway/Ocelot/Configuration/Repository/DiskFileConfigurationAggragatorRepository.cs index 55bc727bc..b83e3ecdb 100644 --- a/gateways/internal/LINGYUN.MicroService.Internal.ApiGateway/src/LINGYUN.MicroService.Internal.ApiGateway/Ocelot/Configuration/Repository/DiskFileConfigurationAggragatorRepository.cs +++ b/gateways/internal/LINGYUN.MicroService.Internal.ApiGateway/src/LINGYUN.MicroService.Internal.ApiGateway/Ocelot/Configuration/Repository/DiskFileConfigurationAggragatorRepository.cs @@ -35,7 +35,7 @@ namespace LINGYUN.MicroService.Internal.ApiGateway.Ocelot.Configuration.Reposito _environmentFilePath = Path.Combine( _hostEnvironment.ContentRootPath, $"ocelot.{hostingEnvironment.EnvironmentName ?? "Development"}.json"); - _ocelotFiles = new string[7] + _ocelotFiles = new string[9] { "ocelot.global.json", "ocelot.backendadmin.json",