summaryrefslogtreecommitdiff
path: root/plugins/server/plugin.go
diff options
context:
space:
mode:
authorValery Piashchynski <[email protected]>2021-01-15 00:29:23 +0300
committerValery Piashchynski <[email protected]>2021-01-15 00:29:23 +0300
commitaff4d2c7a92ae014988b27b27069b15a971b6c36 (patch)
tree50dc6e22db7ff51b0fcf3cce0a45b7b739e1f300 /plugins/server/plugin.go
parent7542ae2d4c392290766405d31996378378aad975 (diff)
Viper doesn't support `yaml` structure tags, it uses mapstructure
instead
Diffstat (limited to 'plugins/server/plugin.go')
-rw-r--r--plugins/server/plugin.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/server/plugin.go b/plugins/server/plugin.go
index 565c80c4..8c39b783 100644
--- a/plugins/server/plugin.go
+++ b/plugins/server/plugin.go
@@ -40,7 +40,7 @@ type Plugin struct {
// Init application provider.
func (server *Plugin) Init(cfg config.Configurer, log logger.Logger) error {
- const op = errors.Op("Init")
+ const op = errors.Op("server plugin init")
err := cfg.Unmarshal(&server.cfg)
if err != nil {
return errors.E(op, errors.Init, err)