aboutsummaryrefslogtreecommitdiff
path: root/cmd
diff options
context:
space:
mode:
authorDevon Hudson <devonhudson@librem.one>2023-02-24 15:49:51 -0700
committerDevon Hudson <devonhudson@librem.one>2023-02-24 15:49:51 -0700
commiteddf31f9157c1dc3bc88e64b648572acb57a2251 (patch)
treefa8ffb2ed95ea341b7db9a7cb6cca4c9086a4b6e /cmd
parentb28406c7d01550c6e26e5cf365332c56ff95fbf2 (diff)
Fix lint error
Diffstat (limited to 'cmd')
-rw-r--r--cmd/dendrite-demo-pinecone/monolith/monolith.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/dendrite-demo-pinecone/monolith/monolith.go b/cmd/dendrite-demo-pinecone/monolith/monolith.go
index e8a29e41..ea8e985c 100644
--- a/cmd/dendrite-demo-pinecone/monolith/monolith.go
+++ b/cmd/dendrite-demo-pinecone/monolith/monolith.go
@@ -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 {