mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-26 21:17:23 +00:00
Code review changes
This commit is contained in:
parent
18a0ae5251
commit
77c359f7f7
@ -399,7 +399,7 @@ func (b bodyGen) doStruct(sw *generator.SnippetWriter) error {
|
|||||||
}
|
}
|
||||||
extras = append(extras, fmt.Sprintf("%s = %s", k, v))
|
extras = append(extras, fmt.Sprintf("%s = %s", k, v))
|
||||||
}
|
}
|
||||||
sort.Strings(extras))
|
sort.Strings(extras)
|
||||||
if len(extras) > 0 {
|
if len(extras) > 0 {
|
||||||
fmt.Fprintf(out, " [")
|
fmt.Fprintf(out, " [")
|
||||||
fmt.Fprint(out, strings.Join(extras, ", "))
|
fmt.Fprint(out, strings.Join(extras, ", "))
|
||||||
|
Loading…
Reference in New Issue
Block a user