Commit 7f7c36dc authored by qiaolei's avatar qiaolei

Change 'params' to 'extraParams' to keep align with naming conventions

Go field names must be CamelCase. JSON field names must be camelCase. Other than capitalization of the initial letter, the two should almost always match. No underscores nor dashes in either Please refer 'https://github.com/kubernetes/kubernetes/blob/master/docs/devel/api-conventions.md#naming-conventions'
parent 9659ab13
......@@ -157,7 +157,7 @@ type Frobber struct {
Height int `json:"height"`
Width int `json:"width"`
Param string `json:"param"` // the first param
ExtraParams []string `json:"params"` // additional params
ExtraParams []string `json:"extraParams"` // additional params
}
```
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment