From 5ea78610743231517ef986ac84f71c748136c6de Mon Sep 17 00:00:00 2001 From: raman-m Date: Tue, 1 Aug 2023 16:20:55 +0300 Subject: [PATCH] SA1503 Braces should not be omitted. Wrap with braces --- .../Configuration/Repository/DiskFileConfigurationRepository.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Ocelot/Configuration/Repository/DiskFileConfigurationRepository.cs b/src/Ocelot/Configuration/Repository/DiskFileConfigurationRepository.cs index 480088830..790152ca4 100644 --- a/src/Ocelot/Configuration/Repository/DiskFileConfigurationRepository.cs +++ b/src/Ocelot/Configuration/Repository/DiskFileConfigurationRepository.cs @@ -32,7 +32,9 @@ public Task> Get() var configuration = _cache.Get(_cacheKey, _cacheKey); if (configuration != null) + { return Task.FromResult>(new OkResponse(configuration)); + } string jsonConfiguration;