[#20] Client: Fix typo
All checks were successful
DCO / DCO (pull_request) Successful in 26s
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:
parent
0ddde467cd
commit
6083834582
1 changed files with 2 additions and 2 deletions
|
@ -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!;
|
||||
|
|
Loading…
Reference in a new issue