diff options
author | Valery Piashchynski <[email protected]> | 2021-01-23 18:26:45 +0300 |
---|---|---|
committer | Valery Piashchynski <[email protected]> | 2021-01-23 18:26:45 +0300 |
commit | 90ad9b070222a74462bbc2019931d4b8e4a70785 (patch) | |
tree | 55fa1da5398de0ae79dabd7afa98050a94f31075 /plugins/static/plugin.go | |
parent | 6a2ba0f1495460fc629c7d123c710a6a45f3d4c3 (diff) |
Remove debug ingections
Diffstat (limited to 'plugins/static/plugin.go')
-rw-r--r-- | plugins/static/plugin.go | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/plugins/static/plugin.go b/plugins/static/plugin.go index 6e6fa67d..1687cf11 100644 --- a/plugins/static/plugin.go +++ b/plugins/static/plugin.go @@ -30,7 +30,6 @@ type Plugin struct { func (s *Plugin) Init(cfg config.Configurer, log logger.Logger) error { const op = errors.Op("static_plugin_init") if !cfg.Has(RootPluginName) { - return errors.E(op, errors.Disabled) } @@ -39,10 +38,6 @@ func (s *Plugin) Init(cfg config.Configurer, log logger.Logger) error { return errors.E(op, errors.Disabled, err) } - m := make(map[string]interface{}) - m["http:static"] = nil - cfg.Overwrite(m) - if s.cfg.Static == nil { return errors.E(op, errors.Disabled) } |