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'
This commit is contained in:
qiaolei 2015-09-19 09:32:17 +08:00
parent 9659ab131a
commit 7f7c36dc1a

View File

@ -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
}
```