mirror of
https://github.com/matrix-org/dendrite.git
synced 2025-12-06 06:23:10 -06:00
Fix lint error
This commit is contained in:
parent
b28406c7d0
commit
eddf31f915
|
|
@ -215,7 +215,7 @@ func (p *P2PMonolith) WaitForShutdown() {
|
|||
func (p *P2PMonolith) closeAllResources() {
|
||||
logrus.Info("Closing monolith resources")
|
||||
if p.httpServer != nil {
|
||||
p.httpServer.Shutdown(context.Background())
|
||||
_ = p.httpServer.Shutdown(context.Background())
|
||||
}
|
||||
|
||||
select {
|
||||
|
|
|
|||
Loading…
Reference in a new issue