Skip to content
Snippets Groups Projects
Unverified Commit ce8b05b0 authored by Márk Sági-Kazár's avatar Márk Sági-Kazár Committed by GitHub
Browse files

Merge pull request #1991 from flant/close-storage

fix: close storage on shutdown
parents a8c7ed9f 87ebbaf8
No related branches found
No related tags found
No related merge requests found
......@@ -193,6 +193,8 @@ func runServe(options serveOptions) error {
if err != nil {
return fmt.Errorf("failed to initialize storage: %v", err)
}
defer s.Close()
logger.Infof("config storage: %s", c.Storage.Type)
if len(c.StaticClients) > 0 {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment