update opentelemetry version (#6)
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing

Co-authored-by: andrey1s <andrey@4devs.pro>
Reviewed-on: #6
Co-authored-by: andrey <andrey@4devs.io>
Co-committed-by: andrey <andrey@4devs.io>
This commit was merged in pull request #6.
This commit is contained in:
2022-09-06 22:25:04 +03:00
parent 7570ade82a
commit 81eaf8c8b2
15 changed files with 59 additions and 53 deletions

View File

@@ -255,13 +255,13 @@ type Field struct {
value Value
}
//nolint: gocyclo,cyclop
//nolint:gocyclo,cyclop
func (f Field) AddTo(enc Encoder) {
key := string(f.key)
switch {
case f.value.IsArray():
enc.AddAny(key, f.value)
enc.AddArray(key, f.value)
case f.value.IsNil():
enc.AddNil(key)
case f.value.IsBool():