summaryrefslogtreecommitdiff
path: root/plugins/informer
diff options
context:
space:
mode:
authorValery Piashchynski <[email protected]>2020-12-03 13:08:38 +0300
committerValery Piashchynski <[email protected]>2020-12-03 13:08:38 +0300
commit31e4bb7b236fe0ae59fd42d66af0d718b67a2a4b (patch)
treecd51f81b20dc32666165ff85d8b8bdad0e6c464c /plugins/informer
parentbdabf97a6463c0e3897063235f3d556d4f75c4bd (diff)
Initial commit of checker plugin
Diffstat (limited to 'plugins/informer')
-rw-r--r--plugins/informer/plugin.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/informer/plugin.go b/plugins/informer/plugin.go
index 09d933fd..f3013394 100644
--- a/plugins/informer/plugin.go
+++ b/plugins/informer/plugin.go
@@ -21,7 +21,7 @@ func (p *Plugin) Init(log log.Logger) error {
return nil
}
-// Reset named service.
+// Workers provides WorkerBase slice with workers for the requested plugin
func (p *Plugin) Workers(name string) ([]roadrunner.WorkerBase, error) {
const op = errors.Op("get workers")
svc, ok := p.registry[name]