mirror of
https://github.com/datarhei/core.git
synced 2025-10-07 00:43:39 +08:00
Remove unecessary condition for not storing a report
This commit is contained in:
@@ -917,10 +917,6 @@ func (p *parser) storeReportHistory(state string, usage Usage) {
|
|||||||
|
|
||||||
p.ResetLog()
|
p.ResetLog()
|
||||||
|
|
||||||
if len(report.Prelude) == 0 {
|
|
||||||
return
|
|
||||||
}
|
|
||||||
|
|
||||||
p.lock.logHistory.Lock()
|
p.lock.logHistory.Lock()
|
||||||
defer p.lock.logHistory.Unlock()
|
defer p.lock.logHistory.Unlock()
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user