Skip to content

Commit eb24878

Browse files
authored
Merge pull request #106 from SumoLogic/ssain-fix-partition-test-status-code-change
partition api status code change fix failing test
2 parents 362f323 + 0139e56 commit eb24878

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

sumologic/sumologic_partition.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,10 @@ func (s *Client) GetPartition(id string) (*Partition, error) {
1616
return nil, err
1717
}
1818
}
19+
} else {
20+
if data == nil {
21+
return nil, nil
22+
}
1923
}
2024

2125
var spartition Partition

0 commit comments

Comments
 (0)