forked from TrueCloudLab/frostfs-api-go
code format
This commit is contained in:
parent
53af48372f
commit
80fde665ca
1 changed files with 2 additions and 2 deletions
|
@ -71,7 +71,7 @@ func (m Object) Verify() error {
|
|||
pubkey []byte
|
||||
)
|
||||
ind, ih := m.LastHeader(HeaderType(IntegrityHdr))
|
||||
if ih == nil || ind != len(m.Headers) - 1{
|
||||
if ih == nil || ind != len(m.Headers)-1 {
|
||||
return ErrHeaderNotFound
|
||||
}
|
||||
integrity := ih.Value.(*Header_Integrity).Integrity
|
||||
|
|
Loading…
Reference in a new issue