summaryrefslogtreecommitdiff
path: root/plugins/resetter/plugin.go
diff options
context:
space:
mode:
authorValery Piashchynski <[email protected]>2021-08-31 14:59:28 +0300
committerValery Piashchynski <[email protected]>2021-08-31 14:59:28 +0300
commit31cf040029eb0b26278e4a9948cbc1aba77ed58b (patch)
tree884dd2991acf12826752632b8321410e7cc923ce /plugins/resetter/plugin.go
parent2f44878a7eac71d7b81e66246b46c615a95892d7 (diff)
Naming: service -> plugin
Fix bug with survived workers in the debug mode Signed-off-by: Valery Piashchynski <[email protected]>
Diffstat (limited to 'plugins/resetter/plugin.go')
-rw-r--r--plugins/resetter/plugin.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/resetter/plugin.go b/plugins/resetter/plugin.go
index b2fe59af..191185ae 100644
--- a/plugins/resetter/plugin.go
+++ b/plugins/resetter/plugin.go
@@ -21,7 +21,7 @@ func (p *Plugin) Reset(name string) error {
const op = errors.Op("resetter_plugin_reset_by_name")
svc, ok := p.registry[name]
if !ok {
- return errors.E(op, errors.Errorf("no such service: %s", name))
+ return errors.E(op, errors.Errorf("no such plugin: %s", name))
}
return svc.Reset()