[#28] Client: Move CalculateObjectId from IFrostFsClient to statis tools
Get payload hash as an argument Signed-off-by: Pavel Gross <p.gross@yadro.com>
This commit is contained in:
parent
db9b93b2e6
commit
8637515869
2 changed files with 23 additions and 9 deletions
|
@ -268,7 +268,7 @@ internal sealed class ObjectServiceProvider(ObjectService.ObjectServiceClient cl
|
|||
|
||||
internal async Task<FrostFsObjectId> PutSingleObjectAsync(PrmSingleObjectPut args, CallContext ctx)
|
||||
{
|
||||
var grpcObject = ObjectTools.CreateObject(args.FrostFsObject, ClientContext);
|
||||
var grpcObject = ObjectTools.CreateSingleObject(args.FrostFsObject, ClientContext);
|
||||
|
||||
var request = new PutSingleRequest
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue