forked from TrueCloudLab/frostfs-node
[#319] Do not return payload formatting error on regular objects
Regular objects by definition have valid payload, so there should be no errors. Related to #302 Signed-off-by: Alex Vanin <alexey@nspcc.ru>
This commit is contained in:
parent
f311be3ab6
commit
62de9f327e
1 changed files with 1 additions and 1 deletions
|
@ -158,7 +158,7 @@ func (v *FormatValidator) ValidateContent(o *Object) error {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
default:
|
default:
|
||||||
return errors.Errorf("(%T) unsupported object type %s", v, o.Type())
|
// ignore all other object types, they do not need payload formatting
|
||||||
}
|
}
|
||||||
|
|
||||||
return nil
|
return nil
|
||||||
|
|
Loading…
Reference in a new issue