diff options
author | Valery Piashchynski <[email protected]> | 2021-01-19 13:48:43 +0300 |
---|---|---|
committer | Valery Piashchynski <[email protected]> | 2021-01-19 13:48:43 +0300 |
commit | 9bb05ec11065e765d14701f3f0c6aef19640dff7 (patch) | |
tree | 10e88d11ac3571c701d06e3671e6e2b538d879ed /cmd | |
parent | a9a206b31e272e0508fff496e9641c4db291ddb7 (diff) |
Uniform debug message from the http hanlder
Update tests
Signed-off-by: Valery Piashchynski <[email protected]>
Diffstat (limited to 'cmd')
-rw-r--r-- | cmd/cli/workers.go | 7 |
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() |