mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-15 06:01:50 +00:00
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:
@@ -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{}
|
||||
|
||||
|
Reference in New Issue
Block a user