diff options
author | dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com> | 2019-10-30 14:08:49 +0000 |
---|---|---|
committer | Valentin Rothberg <rothberg@redhat.com> | 2019-10-30 15:17:10 +0100 |
commit | d55734e69bcb645802b33ef703d336b89bbeefe1 (patch) | |
tree | cb7bd9eb71d4e049473398aff5554404ee16e5d8 /vendor/github.com/json-iterator/go/reflect_extension.go | |
parent | e7540d0406c49b22de245246d16ebc6e1778df37 (diff) | |
download | podman-d55734e69bcb645802b33ef703d336b89bbeefe1.tar.gz podman-d55734e69bcb645802b33ef703d336b89bbeefe1.tar.bz2 podman-d55734e69bcb645802b33ef703d336b89bbeefe1.zip |
Bump github.com/json-iterator/go from 1.1.7 to 1.1.8
Bumps [github.com/json-iterator/go](https://github.com/json-iterator/go) from 1.1.7 to 1.1.8.
- [Release notes](https://github.com/json-iterator/go/releases)
- [Commits](https://github.com/json-iterator/go/compare/v1.1.7...1.1.8)
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: Valentin Rothberg <rothberg@redhat.com>
Diffstat (limited to 'vendor/github.com/json-iterator/go/reflect_extension.go')
-rw-r--r-- | vendor/github.com/json-iterator/go/reflect_extension.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vendor/github.com/json-iterator/go/reflect_extension.go b/vendor/github.com/json-iterator/go/reflect_extension.go index 05e8fbf1f..e27e8d191 100644 --- a/vendor/github.com/json-iterator/go/reflect_extension.go +++ b/vendor/github.com/json-iterator/go/reflect_extension.go @@ -341,10 +341,10 @@ func describeStruct(ctx *ctx, typ reflect2.Type) *StructDescriptor { if ctx.onlyTaggedField && !hastag && !field.Anonymous() { continue } - tagParts := strings.Split(tag, ",") if tag == "-" { continue } + tagParts := strings.Split(tag, ",") if field.Anonymous() && (tag == "" || tagParts[0] == "") { if field.Type().Kind() == reflect.Struct { structDescriptor := describeStruct(ctx, field.Type()) |