diff options
author | Valery Piashchynski <[email protected]> | 2021-01-19 18:10:39 +0300 |
---|---|---|
committer | GitHub <[email protected]> | 2021-01-19 18:10:39 +0300 |
commit | 0ff05b2732b4fd0783f959c94c54d7e39169f979 (patch) | |
tree | f50aa894ea4e5b402332f7f4a13b8c50ebb09126 /plugins/resetter/plugin.go | |
parent | 75ebbaac89ce8ebc3ab8de47b16e137844cfcd8a (diff) | |
parent | d8e42927b63a0b102ce10d465a10d64bb6c02e22 (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 'plugins/resetter/plugin.go')
-rw-r--r-- | plugins/resetter/plugin.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/resetter/plugin.go b/plugins/resetter/plugin.go index 5d294086..611cb363 100644 --- a/plugins/resetter/plugin.go +++ b/plugins/resetter/plugin.go @@ -14,7 +14,7 @@ type Plugin struct { } func (p *Plugin) ResetAll() error { - const op = errors.Op("reset all") + const op = errors.Op("resetter_plugin_reset_all") for name := range p.registry { err := p.registry[name].Reset() if err != nil { @@ -25,7 +25,7 @@ func (p *Plugin) ResetAll() error { } func (p *Plugin) ResetByName(plugin string) error { - const op = errors.Op("reset by name") + const op = errors.Op("resetter_plugin_reset_by_name") if plugin, ok := p.registry[plugin]; ok { return plugin.Reset() } |