summaryrefslogtreecommitdiff
path: root/plugins/server
diff options
context:
space:
mode:
authorValery Piashchynski <[email protected]>2021-05-13 19:32:04 +0300
committerValery Piashchynski <[email protected]>2021-05-13 19:32:04 +0300
commit7ee84c5fd7cd57b97e2cb2005b37784183800ae0 (patch)
tree6a718020f9faabdba417d74110f7acd4382dff24 /plugins/server
parent2be94ad0400e2f523d87f47e09a7bf505edef689 (diff)
- Update tests
Signed-off-by: Valery Piashchynski <[email protected]>
Diffstat (limited to 'plugins/server')
-rw-r--r--plugins/server/config.go2
-rw-r--r--plugins/server/plugin.go3
2 files changed, 2 insertions, 3 deletions
diff --git a/plugins/server/config.go b/plugins/server/config.go
index a4b0d91c..00ce4140 100644
--- a/plugins/server/config.go
+++ b/plugins/server/config.go
@@ -4,7 +4,7 @@ import (
"time"
)
-// All config (.rr.yaml)
+// Config All config (.rr.yaml)
// For other section use pointer to distinguish between `empty` and `not present`
type Config struct {
// Server config section
diff --git a/plugins/server/plugin.go b/plugins/server/plugin.go
index 320da372..ef77f7ab 100644
--- a/plugins/server/plugin.go
+++ b/plugins/server/plugin.go
@@ -58,8 +58,7 @@ func (server *Plugin) Name() string {
}
// Available interface implementation
-func (server *Plugin) Available() {
-}
+func (server *Plugin) Available() {}
// Serve (Start) server plugin (just a mock here to satisfy interface)
func (server *Plugin) Serve() chan error {