forked from TrueCloudLab/frostfs-node
[#1623] services/tree: Fix error message
Signed-off-by: Evgenii Stratonikov <evgeniy@nspcc.ru>
This commit is contained in:
parent
2f4e465cf4
commit
7e717e80ef
1 changed files with 1 additions and 1 deletions
|
@ -50,7 +50,7 @@ func (s *Service) verifyClient(req message, cid cidSDK.ID, rawBearer []byte, op
|
||||||
user.IDFromKey(&actualID, (ecdsa.PublicKey)(*pub))
|
user.IDFromKey(&actualID, (ecdsa.PublicKey)(*pub))
|
||||||
|
|
||||||
if !actualID.Equals(ownerID) {
|
if !actualID.Equals(ownerID) {
|
||||||
return errors.New("`Move` request must be signed by a container owner")
|
return errors.New("request must be signed by a container owner")
|
||||||
}
|
}
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue