summaryrefslogtreecommitdiff
path: root/plugins/static/plugin.go
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/static/plugin.go')
-rw-r--r--plugins/static/plugin.go5
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)
}