summaryrefslogtreecommitdiff
path: root/plugins/resetter
diff options
context:
space:
mode:
authorValery Piashchynski <[email protected]>2021-04-30 13:09:18 +0300
committerValery Piashchynski <[email protected]>2021-04-30 13:09:18 +0300
commitd0dccb0c761df45da7fba00340f1cd5c66c71711 (patch)
tree8b1bc547a843dd9601faee26cf1c92876cfbb054 /plugins/resetter
parent50aa751dcefc0ab0e96594a5f111ead316a34a70 (diff)
- Add Availabler interface implementaion for all plugins
- Add tests Signed-off-by: Valery Piashchynski <[email protected]>
Diffstat (limited to 'plugins/resetter')
-rw-r--r--plugins/resetter/plugin.go5
1 files changed, 5 insertions, 0 deletions
diff --git a/plugins/resetter/plugin.go b/plugins/resetter/plugin.go
index 43382e56..a80c2c0f 100644
--- a/plugins/resetter/plugin.go
+++ b/plugins/resetter/plugin.go
@@ -74,6 +74,11 @@ func (p *Plugin) Name() string {
return PluginName
}
+// Available interface implementation
+func (p *Plugin) Available() bool {
+ return true
+}
+
// RPC returns associated rpc service.
func (p *Plugin) RPC() interface{} {
return &rpc{srv: p, log: p.log}