mirror of
https://github.com/featurebasedb/featurebase.git
synced 2026-09-07 09:05:55 +00:00
Remove unused code and TODO and clarify with comment.
This commit is contained in:
parent
754de2e057
commit
85b33f1bfb
1 changed files with 1 additions and 6 deletions
|
|
@ -91,13 +91,8 @@ func (d *DiagnosticsCollector) Flush() error {
|
|||
if err != nil {
|
||||
return err
|
||||
}
|
||||
// Intentionally ignoring response body, as user does not need to be notified of error.
|
||||
defer resp.Body.Close()
|
||||
|
||||
// TODO verify response
|
||||
_, err = ioutil.ReadAll(resp.Body)
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue