summaryrefslogtreecommitdiff
path: root/cmd/cli/workers.go
diff options
context:
space:
mode:
authorValery Piashchynski <[email protected]>2021-01-19 18:10:39 +0300
committerGitHub <[email protected]>2021-01-19 18:10:39 +0300
commit0ff05b2732b4fd0783f959c94c54d7e39169f979 (patch)
treef50aa894ea4e5b402332f7f4a13b8c50ebb09126 /cmd/cli/workers.go
parent75ebbaac89ce8ebc3ab8de47b16e137844cfcd8a (diff)
parentd8e42927b63a0b102ce10d465a10d64bb6c02e22 (diff)
Merge pull request #487 from spiral/refactor/server_log_messagesv2.0.0-beta9
refactor(errors, logs): Uniform all errors operations, Update server log level of the server log messages
Diffstat (limited to 'cmd/cli/workers.go')
-rw-r--r--cmd/cli/workers.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/cmd/cli/workers.go b/cmd/cli/workers.go
index 47dd2a85..09642a58 100644
--- a/cmd/cli/workers.go
+++ b/cmd/cli/workers.go
@@ -42,7 +42,7 @@ func init() {
}
func workersHandler(_ *cobra.Command, args []string) error {
- const op = errors.Op("workers cobra handler")
+ const op = errors.Op("handle_workers_command")
// get RPC client
client, err := RPCClient()
if err != nil {
@@ -94,7 +94,7 @@ func workersHandler(_ *cobra.Command, args []string) error {
}
func showWorkers(plugins []string, client *rpc.Client) error {
- const op = errors.Op("show workers")
+ const op = errors.Op("show_workers")
for _, plugin := range plugins {
list := &informer.WorkerList{}
err := client.Call(InformerWorkers, plugin, &list)