[#486] put service: Fix error typo

Signed-off-by: Dmitrii Stepanov <d.stepanov@yadro.com>
This commit is contained in:
Dmitrii Stepanov 2023-07-10 15:42:31 +03:00
parent fcbf90d31b
commit a65e26878b
2 changed files with 3 additions and 3 deletions

View file

@ -131,7 +131,7 @@ func (s *Service) validatePutSingleChecksum(obj *objectSDK.Object) error {
func (s *Service) validatePutSingleObject(ctx context.Context, obj *objectSDK.Object) error {
if err := s.fmtValidator.Validate(ctx, obj, false); err != nil {
return fmt.Errorf("coult not validate object format: %w", err)
return fmt.Errorf("coud not validate object format: %w", err)
}
_, err := s.fmtValidator.ValidateContent(obj)