diff options
author | dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> | 2021-04-28 08:09:20 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-04-28 08:09:20 +0000 |
commit | 41e8a0af6ae672072d426f118fd4cd24c4569da1 (patch) | |
tree | 34f4328768eb9ba22b066adb7910daa798df7669 /vendor/github.com/json-iterator/go/reflect.go | |
parent | 5dc9faf624d4f8a386b1faffe1ffa046ba0b62dd (diff) | |
download | podman-41e8a0af6ae672072d426f118fd4cd24c4569da1.tar.gz podman-41e8a0af6ae672072d426f118fd4cd24c4569da1.tar.bz2 podman-41e8a0af6ae672072d426f118fd4cd24c4569da1.zip |
Bump github.com/json-iterator/go from 1.1.10 to 1.1.11
Bumps [github.com/json-iterator/go](https://github.com/json-iterator/go) from 1.1.10 to 1.1.11.
- [Release notes](https://github.com/json-iterator/go/releases)
- [Commits](https://github.com/json-iterator/go/compare/v1.1.10...v1.1.11)
Signed-off-by: dependabot[bot] <support@github.com>
Diffstat (limited to 'vendor/github.com/json-iterator/go/reflect.go')
-rw-r--r-- | vendor/github.com/json-iterator/go/reflect.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vendor/github.com/json-iterator/go/reflect.go b/vendor/github.com/json-iterator/go/reflect.go index 74974ba74..39acb320a 100644 --- a/vendor/github.com/json-iterator/go/reflect.go +++ b/vendor/github.com/json-iterator/go/reflect.go @@ -65,7 +65,7 @@ func (iter *Iterator) ReadVal(obj interface{}) { decoder := iter.cfg.getDecoderFromCache(cacheKey) if decoder == nil { typ := reflect2.TypeOf(obj) - if typ.Kind() != reflect.Ptr { + if typ == nil || typ.Kind() != reflect.Ptr { iter.ReportError("ReadVal", "can only unmarshal into pointer") return } |