generated

running hack/update-vendor.sh
This commit is contained in:
Haowei Cai
2019-08-07 12:53:51 -07:00
parent 2332a808f2
commit 6bed35ebd2
34 changed files with 161 additions and 63 deletions

View File

@@ -530,8 +530,8 @@ func (decoder *generalStructDecoder) decodeOneField(ptr unsafe.Pointer, iter *It
}
}
if fieldDecoder == nil {
msg := "found unknown field: " + field
if decoder.disallowUnknownFields {
msg := "found unknown field: " + field
iter.ReportError("ReadObject", msg)
}
c := iter.nextToken()