forked from TrueCloudLab/frostfs-sdk-go
[#170] object: Fix comments about checksums
Delete "must not be nil" where there are no pointers. Signed-off-by: Pavel Karpy <carpawell@nspcc.ru>
This commit is contained in:
parent
9b63c07c59
commit
2deaaeef05
1 changed files with 0 additions and 2 deletions
|
@ -234,7 +234,6 @@ func (o *Object) PayloadChecksum() (checksum.Checksum, bool) {
|
|||
}
|
||||
|
||||
// SetPayloadChecksum sets checksum of the object payload.
|
||||
// Checksum must not be nil.
|
||||
//
|
||||
// See also PayloadChecksum.
|
||||
func (o *Object) SetPayloadChecksum(v checksum.Checksum) {
|
||||
|
@ -265,7 +264,6 @@ func (o *Object) PayloadHomomorphicHash() (checksum.Checksum, bool) {
|
|||
}
|
||||
|
||||
// SetPayloadHomomorphicHash sets homomorphic hash of the object payload.
|
||||
// Checksum must not be nil.
|
||||
//
|
||||
// See also PayloadHomomorphicHash.
|
||||
func (o *Object) SetPayloadHomomorphicHash(v checksum.Checksum) {
|
||||
|
|
Loading…
Reference in a new issue