summaryrefslogtreecommitdiff
path: root/cmd
diff options
context:
space:
mode:
Diffstat (limited to 'cmd')
-rw-r--r--cmd/cli/workers.go7
1 files changed, 3 insertions, 4 deletions
diff --git a/cmd/cli/workers.go b/cmd/cli/workers.go
index 03639aa4..47dd2a85 100644
--- a/cmd/cli/workers.go
+++ b/cmd/cli/workers.go
@@ -17,9 +17,8 @@ import (
"github.com/spiral/roadrunner/v2/tools"
)
-var (
- interactive bool
-)
+// use interactive mode
+var interactive bool
const InformerList string = "informer.List"
const InformerWorkers string = "informer.Workers"
@@ -42,7 +41,7 @@ func init() {
root.AddCommand(workersCommand)
}
-func workersHandler(cmd *cobra.Command, args []string) error {
+func workersHandler(_ *cobra.Command, args []string) error {
const op = errors.Op("workers cobra handler")
// get RPC client
client, err := RPCClient()