Fix incorrect usage of PushFunc in status package
This commit is contained in:
@@ -89,5 +89,9 @@ func pushSystemStatus() {
|
||||
return
|
||||
}
|
||||
|
||||
pushUpdate(buildSystemStatus())
|
||||
record := buildSystemStatus()
|
||||
record.Lock()
|
||||
defer record.Unlock()
|
||||
|
||||
pushUpdate(record)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user