Fix Patch handler bugs #1338

Merged
fyrchik merged 2 commits from aarifullin/frostfs-node:fix/patch/3 into master 2024-09-04 19:51:11 +00:00
Showing only changes of commit d6b42972a8 - Show all commits

View file

@ -204,7 +204,7 @@ func (a *auditPatchStream) CloseAndRecv(ctx context.Context) (*object.PatchRespo
if err != nil {
a.failed = true
}
a.objectID = resp.GetBody().ObjectID
a.objectID = resp.GetBody().GetObjectID()
audit.LogRequestWithKey(a.log, objectGRPC.ObjectService_Patch_FullMethodName, a.key,
audit.TargetFromContainerIDObjectID(a.containerID, a.objectID),
!a.failed)