Skip to content

Commit

Permalink
client/replicate/test: fix missing signature check
Browse files Browse the repository at this point in the history
Signed-off-by: Pavel Karpy <[email protected]>
  • Loading branch information
carpawell committed Aug 28, 2024
1 parent c965ec2 commit 73bfe96
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/object_replicate_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ func (x *testReplicationServer) Replicate(_ context.Context, req *objectgrpc.Rep
}

sigMsg := req.GetSignature()
if objMsg == nil {
if sigMsg == nil {
st.Code = 1024 // internal error
st.Message = "missing signature field"
resp.Status = &st
Expand Down

0 comments on commit 73bfe96

Please sign in to comment.