mirror of
https://github.com/hoernschen/dendrite.git
synced 2024-12-27 07:28:27 +00:00
Fix lint error
This commit is contained in:
parent
b28406c7d0
commit
eddf31f915
1 changed files with 1 additions and 1 deletions
|
@ -215,7 +215,7 @@ func (p *P2PMonolith) WaitForShutdown() {
|
||||||
func (p *P2PMonolith) closeAllResources() {
|
func (p *P2PMonolith) closeAllResources() {
|
||||||
logrus.Info("Closing monolith resources")
|
logrus.Info("Closing monolith resources")
|
||||||
if p.httpServer != nil {
|
if p.httpServer != nil {
|
||||||
p.httpServer.Shutdown(context.Background())
|
_ = p.httpServer.Shutdown(context.Background())
|
||||||
}
|
}
|
||||||
|
|
||||||
select {
|
select {
|
||||||
|
|
Loading…
Reference in a new issue