Skip to content

Commit

Permalink
layer: Remove deprecated Equals function
Browse files Browse the repository at this point in the history
Signed-off-by: Evgenii Baidakov <evgenii@nspcc.io>
  • Loading branch information
smallhive committed Sep 4, 2024
1 parent e53a086 commit ad10aa7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/layer/multipart_upload.go
Original file line number Diff line number Diff line change
Expand Up @@ -330,7 +330,7 @@ func (n *layer) uploadPart(ctx context.Context, multipartInfo *data.MultipartInf
for {
prm.Multipart.SplitPreviousID = &splitPreviousID

if !splitFirstID.Equals(oid.ID{}) {
if !splitFirstID.IsZero() {
prm.Multipart.SplitFirstID = &splitFirstID
}

Expand Down

0 comments on commit ad10aa7

Please sign in to comment.