[#20] Client: Fix typo
All checks were successful
DCO / DCO (pull_request) Successful in 26s

Signed-off-by: Pavel Gross <p.gross@yando.com>
This commit is contained in:
Pavel Gross 2024-08-01 18:01:58 +03:00
parent 0ddde467cd
commit 6083834582

View file

@ -15,14 +15,14 @@ public static class ContainerIdMapper
public static ContainerID ToMessage(this ContainerId model)
{
if (!Cache.Owners.TryGetValue(model, out ContainerID? message))
if (!Cache.Containers.TryGetValue(model, out ContainerID? message))
{
message = new ContainerID
{
Value = ByteString.CopyFrom(Base58.Decode(model.Value))
};
Cache.Owners.Set(model, message, _oneHourExpiration);
Cache.Containers.Set(model, message, _oneHourExpiration);
}
return message!;