mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-23 19:56:01 +00:00
remove newline after range
This commit is contained in:
parent
2f4cca73af
commit
aa066e1322
@ -149,9 +149,12 @@ func init() {
|
|||||||
|
|
||||||
// Install registers the API group and adds types to a scheme
|
// Install registers the API group and adds types to a scheme
|
||||||
func Install(groupFactoryRegistry $.announcedAPIGroupFactoryRegistry|raw$, registry *$.registeredAPIRegistrationManager|raw$, scheme *$.runtimeScheme|raw$) {
|
func Install(groupFactoryRegistry $.announcedAPIGroupFactoryRegistry|raw$, registry *$.registeredAPIRegistrationManager|raw$, scheme *$.runtimeScheme|raw$) {
|
||||||
$range .allInstallGroups$ $.InstallPackageAlias$.Install(groupFactoryRegistry, registry, scheme)
|
$- range .allInstallGroups$
|
||||||
$end$
|
$.InstallPackageAlias$.Install(groupFactoryRegistry, registry, scheme)
|
||||||
$if .customRegister$ExtraInstall(groupFactoryRegistry, registry, scheme)$end$
|
$- end$
|
||||||
|
$if .customRegister$
|
||||||
|
ExtraInstall(groupFactoryRegistry, registry, scheme)
|
||||||
|
$end -$
|
||||||
}
|
}
|
||||||
`
|
`
|
||||||
|
|
||||||
@ -178,8 +181,11 @@ func init() {
|
|||||||
// After this, RawExtensions in Kubernetes types will serialize kube-aggregator types
|
// After this, RawExtensions in Kubernetes types will serialize kube-aggregator types
|
||||||
// correctly.
|
// correctly.
|
||||||
func AddToScheme(scheme *$.runtimeScheme|raw$) {
|
func AddToScheme(scheme *$.runtimeScheme|raw$) {
|
||||||
$range .allGroupVersions$ $.PackageAlias$.AddToScheme(scheme)
|
$- range .allGroupVersions$
|
||||||
$end$
|
$.PackageAlias$.AddToScheme(scheme)
|
||||||
$if .customRegister$ExtraAddToScheme(scheme)$end$
|
$- end$
|
||||||
|
$if .customRegister$
|
||||||
|
ExtraAddToScheme(scheme)
|
||||||
|
$end -$
|
||||||
}
|
}
|
||||||
`
|
`
|
||||||
|
Loading…
Reference in New Issue
Block a user