diff options
author | Valery Piashchynski <[email protected]> | 2021-01-15 00:52:09 +0300 |
---|---|---|
committer | GitHub <[email protected]> | 2021-01-15 00:52:09 +0300 |
commit | 83e510d734815968a998fa8e4c14ac0900b9c485 (patch) | |
tree | 50dc6e22db7ff51b0fcf3cce0a45b7b739e1f300 /pkg/pool/static_pool.go | |
parent | 7542ae2d4c392290766405d31996378378aad975 (diff) | |
parent | d4a067d1fdc4911cb5467620da981fca3dc4cc08 (diff) |
Merge pull request #476 from spiral/fix/use_mapstructure_instead_yaml_tagsv2.0.0-beta7
fix(yaml): Use mapstructure structure tags instead of yaml
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")) } |