diff options
Diffstat (limited to 'plugins/status/plugin.go')
-rw-r--r-- | plugins/status/plugin.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/status/plugin.go b/plugins/status/plugin.go index 82a0fa6c..b76ad0a3 100644 --- a/plugins/status/plugin.go +++ b/plugins/status/plugin.go @@ -85,7 +85,7 @@ func (c *Plugin) status(name string) (Status, error) { const op = errors.Op("checker_plugin_status") svc, ok := c.statusRegistry[name] if !ok { - return Status{}, errors.E(op, errors.Errorf("no such service: %s", name)) + return Status{}, errors.E(op, errors.Errorf("no such plugin: %s", name)) } return svc.Status(), nil @@ -96,7 +96,7 @@ func (c *Plugin) ready(name string) (Status, error) { const op = errors.Op("checker_plugin_ready") svc, ok := c.readyRegistry[name] if !ok { - return Status{}, errors.E(op, errors.Errorf("no such service: %s", name)) + return Status{}, errors.E(op, errors.Errorf("no such plugin: %s", name)) } return svc.Ready(), nil |