From a2c300469f26a8f710d9676f1b307c057e360340 Mon Sep 17 00:00:00 2001 From: Dmitry Samodov Date: Thu, 24 Jun 2021 12:28:39 +0300 Subject: [PATCH] LM-1129: changes ClientIdsToLog type --- src/Lykke.Service.Assets.Services/AssetConditionService.cs | 4 ++-- .../AssetConditionServiceTests.cs | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Lykke.Service.Assets.Services/AssetConditionService.cs b/src/Lykke.Service.Assets.Services/AssetConditionService.cs index 15e0ce9..c82e67f 100644 --- a/src/Lykke.Service.Assets.Services/AssetConditionService.cs +++ b/src/Lykke.Service.Assets.Services/AssetConditionService.cs @@ -24,7 +24,7 @@ public class AssetConditionService : IAssetConditionService, IStartable private readonly ICachedAssetConditionsService _cachedAssetConditionsService; private readonly IMyNoSqlWriterWrapper _myNoSqlWriter; private readonly int _maxClientsInNoSqlCache; - private readonly ISet _clientIdsToLog; + private readonly List _clientIdsToLog; private readonly ILog _log; public AssetConditionService( @@ -36,7 +36,7 @@ public AssetConditionService( ICachedAssetConditionsService cachedAssetConditionsService, IMyNoSqlWriterWrapper myNoSqlWriter, int maxClientsInNoSqlCache, - ISet clientIdsToLog, + List clientIdsToLog, ILogFactory logFactory) { _assetConditionLayerRepository = assetConditionLayerRepository; diff --git a/tests/Lykke.Service.Assets.Services.Tests/AssetConditionServiceTests.cs b/tests/Lykke.Service.Assets.Services.Tests/AssetConditionServiceTests.cs index 652224c..7984a62 100644 --- a/tests/Lykke.Service.Assets.Services.Tests/AssetConditionServiceTests.cs +++ b/tests/Lykke.Service.Assets.Services.Tests/AssetConditionServiceTests.cs @@ -83,7 +83,7 @@ public void TestInitialized() cachedAssetConditionsService, _myNoSqlWriterMock.Object, 10, - new HashSet(), + new List(), EmptyLogFactory.Instance );