summaryrefslogtreecommitdiff
path: root/plugins/jobs/brokers/ephemeral
diff options
context:
space:
mode:
authorValery Piashchynski <[email protected]>2021-06-23 14:23:41 +0300
committerValery Piashchynski <[email protected]>2021-06-23 14:24:07 +0300
commitb0e7ac1aa40e9dbb688f88ac21b10a321a02c252 (patch)
tree691e3a7ba9c0fa167d3830a190117c757215a92d /plugins/jobs/brokers/ephemeral
parenteffa24b4d245dbecfdd6156d505f029f3afd3f75 (diff)
- Update arch, pluign
Signed-off-by: Valery Piashchynski <[email protected]>
Diffstat (limited to 'plugins/jobs/brokers/ephemeral')
-rw-r--r--plugins/jobs/brokers/ephemeral/plugin.go6
1 files changed, 5 insertions, 1 deletions
diff --git a/plugins/jobs/brokers/ephemeral/plugin.go b/plugins/jobs/brokers/ephemeral/plugin.go
index 3028e79a..4d444c7b 100644
--- a/plugins/jobs/brokers/ephemeral/plugin.go
+++ b/plugins/jobs/brokers/ephemeral/plugin.go
@@ -1,8 +1,12 @@
package ephemeral
+import "github.com/spiral/roadrunner/v2/plugins/logger"
+
type Plugin struct {
+ log logger.Logger
}
-func (p *Plugin) Init() error {
+func (p *Plugin) Init(log logger.Logger) error {
+ p.log = log
return nil
}