summaryrefslogtreecommitdiff
path: root/plugins/reload
diff options
context:
space:
mode:
authorValery Piashchynski <[email protected]>2020-12-21 14:27:27 +0300
committerGitHub <[email protected]>2020-12-21 14:27:27 +0300
commit0ad45031047bb479e06ce0a0f496c6db9b2641c9 (patch)
tree26f4b6e453739bc8e0e4fe26f05b899f5d3a5cce /plugins/reload
parent8543980775e5f8b12e5e200a0764052cdb4350a5 (diff)
parent960395df42b379c55c095dbed2378bfe20869c83 (diff)
Merge pull request #459 from spiral/plugin/redisv2.0.0-alpha26
plugin/redis [reopen]
Diffstat (limited to 'plugins/reload')
-rw-r--r--plugins/reload/plugin.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/reload/plugin.go b/plugins/reload/plugin.go
index 233c83a4..dce9502c 100644
--- a/plugins/reload/plugin.go
+++ b/plugins/reload/plugin.go
@@ -6,7 +6,7 @@ import (
"time"
"github.com/spiral/errors"
- config2 "github.com/spiral/roadrunner/v2/interfaces/config"
+ "github.com/spiral/roadrunner/v2/interfaces/config"
"github.com/spiral/roadrunner/v2/interfaces/log"
"github.com/spiral/roadrunner/v2/interfaces/resetter"
)
@@ -25,7 +25,7 @@ type Plugin struct {
}
// Init controller service
-func (s *Plugin) Init(cfg config2.Configurer, log log.Logger, res resetter.Resetter) error {
+func (s *Plugin) Init(cfg config.Configurer, log log.Logger, res resetter.Resetter) error {
const op = errors.Op("reload plugin init")
s.cfg = &Config{}
InitDefaults(s.cfg)