diff options
author | Valery Piashchynski <[email protected]> | 2021-01-15 00:29:23 +0300 |
---|---|---|
committer | Valery Piashchynski <[email protected]> | 2021-01-15 00:29:23 +0300 |
commit | aff4d2c7a92ae014988b27b27069b15a971b6c36 (patch) | |
tree | 50dc6e22db7ff51b0fcf3cce0a45b7b739e1f300 /pkg/pool/static_pool.go | |
parent | 7542ae2d4c392290766405d31996378378aad975 (diff) |
Viper doesn't support `yaml` structure tags, it uses mapstructure
instead
Diffstat (limited to 'pkg/pool/static_pool.go')
-rwxr-xr-x | pkg/pool/static_pool.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/pool/static_pool.go b/pkg/pool/static_pool.go index bb53e121..7cac7b4d 100755 --- a/pkg/pool/static_pool.go +++ b/pkg/pool/static_pool.go @@ -54,7 +54,7 @@ type StaticPool struct { // Initialize creates new worker pool and task multiplexer. StaticPool will initiate with one worker. func Initialize(ctx context.Context, cmd Command, factory worker.Factory, cfg Config, options ...Options) (pool.Pool, error) { - const op = errors.Op("Initialize") + const op = errors.Op("static pool initialize") if factory == nil { return nil, errors.E(op, errors.Str("no factory initialized")) } |