1
0
mirror of https://github.com/rancher/norman.git synced 2025-10-29 13:49:52 +00:00

Dependencies bumps

Signed-off-by: Guilherme Macedo <guilherme.macedo@suse.com>
This commit is contained in:
Guilherme Macedo
2022-04-05 17:31:02 +02:00
parent 4feb41eafa
commit e7a075cab0
743 changed files with 115902 additions and 140799 deletions

View File

@@ -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
}