0
0
Fork 0
mirror of https://github.com/matrix-org/dendrite synced 2024-06-01 03:59:03 +02:00

Fix lint error

This commit is contained in:
Devon Hudson 2023-02-24 15:49:51 -07:00
parent b28406c7d0
commit eddf31f915
No known key found for this signature in database
GPG key ID: CD06B18E77F6A628

View file

@ -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 {