Update vendor libraries except client-go, apimachinery and ugorji/go (#1197)
This fix updates vendor libraries except client-go, apimachinery and ugorji/go, as github.com/ugorji/go/codec is causing compatibilities issues. Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
This commit is contained in:
parent
af6086d653
commit
1fc0c16968
370 changed files with 15091 additions and 5902 deletions
2
vendor/github.com/go-openapi/spec/swagger.go
generated
vendored
2
vendor/github.com/go-openapi/spec/swagger.go
generated
vendored
|
@ -156,7 +156,7 @@ func (s SchemaOrStringArray) MarshalJSON() ([]byte, error) {
|
|||
if s.Schema != nil {
|
||||
return json.Marshal(s.Schema)
|
||||
}
|
||||
return nil, nil
|
||||
return []byte("null"), nil
|
||||
}
|
||||
|
||||
// UnmarshalJSON converts this schema object or array from a JSON structure
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue