mirror of
https://github.com/TwiN/gatus.git
synced 2024-12-14 11:58:04 +00:00
Fix issue with store closing on configuration file update
This commit is contained in:
parent
bbbfe7f466
commit
5a4fa6f2b0
2 changed files with 0 additions and 2 deletions
1
main.go
1
main.go
|
@ -42,7 +42,6 @@ func start(cfg *config.Config) {
|
|||
|
||||
func stop() {
|
||||
watchdog.Shutdown()
|
||||
storage.Get().Close()
|
||||
controller.Shutdown()
|
||||
}
|
||||
|
||||
|
|
|
@ -72,7 +72,6 @@ func TestInitialize(t *testing.T) {
|
|||
return
|
||||
}
|
||||
provider.Close()
|
||||
provider = nil
|
||||
})
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue