Skip to content

Commit

Permalink
fix(app): remove useless provision
Browse files Browse the repository at this point in the history
  • Loading branch information
darkweak committed Sep 11, 2024
1 parent 0af1693 commit 582b7ac
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions app.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,6 @@ func init() {
caddy.RegisterModule(SouinApp{})
}

// Provision implements caddy.Provisioner
func (s SouinApp) Provision(_ caddy.Context) error {
return nil
}

// Start will start the App
func (s SouinApp) Start() error {
core.ResetRegisteredStorages()
Expand All @@ -59,7 +54,6 @@ func (s SouinApp) CaddyModule() caddy.ModuleInfo {
}

var (
_ caddy.App = (*SouinApp)(nil)
_ caddy.Module = (*SouinApp)(nil)
_ caddy.Provisioner = (*SouinApp)(nil)
_ caddy.App = (*SouinApp)(nil)
_ caddy.Module = (*SouinApp)(nil)
)

0 comments on commit 582b7ac

Please sign in to comment.