forked from TrueCloudLab/frostfs-api-go
v2/object: Fix NPE in SplitInfo.GetObject
Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
This commit is contained in:
parent
1bc91466aa
commit
2aa51d3add
1 changed files with 1 additions and 1 deletions
|
@ -651,7 +651,7 @@ func (o *Object) SetPayload(v []byte) {
|
||||||
}
|
}
|
||||||
|
|
||||||
func (s *SplitInfo) GetSplitID() []byte {
|
func (s *SplitInfo) GetSplitID() []byte {
|
||||||
if s.splitID != nil {
|
if s != nil {
|
||||||
return s.splitID
|
return s.splitID
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue