Generate and format files

- Run hack/update-codegen.sh
- Run hack/update-generated-device-plugin.sh
- Run hack/update-generated-protobuf.sh
- Run hack/update-generated-runtime.sh
- Run hack/update-generated-swagger-docs.sh
- Run hack/update-openapi-spec.sh
- Run hack/update-gofmt.sh

Signed-off-by: Davanum Srinivas <davanum@gmail.com>
This commit is contained in:
Davanum Srinivas
2022-07-19 20:54:13 -04:00
parent 4784b58e17
commit a9593d634c
451 changed files with 3281 additions and 2918 deletions

View File

@@ -147,12 +147,14 @@ type params struct {
// UnmarshalJSON is a custom unmarshaler for params.
//
// from(json):
// {
// "initNodes": 500,
// "initPods": 50
// }
//
// {
// "initNodes": 500,
// "initPods": 50
// }
//
// to:
//
// params{
// params: map[string]int{
// "intNodes": 500,
@@ -160,7 +162,6 @@ type params struct {
// },
// isUsed: map[string]bool{}, // empty map
// }
//
func (p *params) UnmarshalJSON(b []byte) error {
aux := map[string]int{}