summaryrefslogtreecommitdiff
path: root/cmd
diff options
context:
space:
mode:
authorValery Piashchynski <[email protected]>2021-01-19 14:57:58 +0300
committerGitHub <[email protected]>2021-01-19 14:57:58 +0300
commit75ebbaac89ce8ebc3ab8de47b16e137844cfcd8a (patch)
treeff51fa5552b897db6e118f3da6771f248efaeaa6 /cmd
parent8704e833dffd7d41614830b5347ba15fa9f297fd (diff)
parentd34f7defd974918d64c225a535a2d98f3f7294cf (diff)
Merge pull request #486 from spiral/refactor/better_http_debug_logs
refactor(http): Uniform debug message from the http hanlder
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()