diff options
author | Valery Piashchynski <[email protected]> | 2021-01-19 16:47:15 +0300 |
---|---|---|
committer | Valery Piashchynski <[email protected]> | 2021-01-19 16:47:15 +0300 |
commit | 26f9d35e18ef79d79a5609c6c68f1b6ad38c7aed (patch) | |
tree | dd6224660ffd0dcefe2332807203ee1eaf6697b4 /cmd/cli/serve.go | |
parent | 75ebbaac89ce8ebc3ab8de47b16e137844cfcd8a (diff) |
Uniform all errors operations
Add new ExecTTL event
Update tests
Signed-off-by: Valery Piashchynski <[email protected]>
Diffstat (limited to 'cmd/cli/serve.go')
-rw-r--r-- | cmd/cli/serve.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cmd/cli/serve.go b/cmd/cli/serve.go index 2fe54932..993ec477 100644 --- a/cmd/cli/serve.go +++ b/cmd/cli/serve.go @@ -19,8 +19,8 @@ func init() { }) } -func handler(cmd *cobra.Command, args []string) error { - const op = errors.Op("handle serve command") +func handler(_ *cobra.Command, _ []string) error { + const op = errors.Op("handle_serve_command") /* We need to have path to the config at the RegisterTarget stage But after cobra.Execute, because cobra fills up cli variables on this stage |