[#1623] services/tree: Fix error message

Signed-off-by: Evgenii Stratonikov <evgeniy@nspcc.ru>
This commit is contained in:
Evgenii Stratonikov 2022-07-22 14:05:14 +03:00 committed by fyrchik
parent 2f4e465cf4
commit 7e717e80ef

View file

@ -50,7 +50,7 @@ func (s *Service) verifyClient(req message, cid cidSDK.ID, rawBearer []byte, op
user.IDFromKey(&actualID, (ecdsa.PublicKey)(*pub))
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
}