Skip to content

Commit 4682c6b

Browse files
committed
Ensure TODOs in API types are single line
Signed-off-by: Stefan Büringer [email protected]
1 parent 1feaf74 commit 4682c6b

File tree

5 files changed

+5
-10
lines changed

5 files changed

+5
-10
lines changed

bootstrap/kubeadm/api/v1beta1/kubeadm_types.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -150,8 +150,7 @@ type ClusterConfiguration struct {
150150
// ControlPlaneComponent holds settings common to control plane component of the cluster.
151151
type ControlPlaneComponent struct {
152152
// ExtraArgs is an extra set of flags to pass to the control plane component.
153-
// TODO: This is temporary and ideally we would like to switch all components to
154-
// use ComponentConfig + ConfigMaps.
153+
// TODO: This is temporary and ideally we would like to switch all components to use ComponentConfig + ConfigMaps.
155154
// +optional
156155
ExtraArgs map[string]string `json:"extraArgs,omitempty"`
157156

bootstrap/kubeadm/types/upstreamv1beta1/types.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -129,8 +129,7 @@ type ClusterConfiguration struct {
129129
// ControlPlaneComponent holds settings common to control plane component of the cluster.
130130
type ControlPlaneComponent struct {
131131
// ExtraArgs is an extra set of flags to pass to the control plane component.
132-
// TODO: This is temporary and ideally we would like to switch all components to
133-
// use ComponentConfig + ConfigMaps.
132+
// TODO: This is temporary and ideally we would like to switch all components to use ComponentConfig + ConfigMaps.
134133
ExtraArgs map[string]string `json:"extraArgs,omitempty"`
135134

136135
// ExtraVolumes is an extra set of host volumes, mounted to the control plane component.

bootstrap/kubeadm/types/upstreamv1beta2/types.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -143,8 +143,7 @@ type ControlPlaneComponent struct {
143143
// ExtraArgs is an extra set of flags to pass to the control plane component.
144144
// A key in this map is the flag name as it appears on the
145145
// command line except without leading dash(es).
146-
// TODO: This is temporary and ideally we would like to switch all components to
147-
// use ComponentConfig + ConfigMaps.
146+
// TODO: This is temporary and ideally we would like to switch all components to use ComponentConfig + ConfigMaps.
148147
ExtraArgs map[string]string `json:"extraArgs,omitempty"`
149148

150149
// ExtraVolumes is an extra set of host volumes, mounted to the control plane component.

bootstrap/kubeadm/types/upstreamv1beta3/types.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -138,8 +138,7 @@ type ClusterConfiguration struct {
138138
// ControlPlaneComponent holds settings common to control plane component of the cluster.
139139
type ControlPlaneComponent struct {
140140
// ExtraArgs is an extra set of flags to pass to the control plane component.
141-
// TODO: This is temporary and ideally we would like to switch all components to
142-
// use ComponentConfig + ConfigMaps.
141+
// TODO: This is temporary and ideally we would like to switch all components to use ComponentConfig + ConfigMaps.
143142
// +optional
144143
ExtraArgs map[string]string `json:"extraArgs,omitempty"`
145144

internal/apis/bootstrap/kubeadm/v1alpha4/kubeadm_types.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -131,8 +131,7 @@ type ClusterConfiguration struct {
131131
// ControlPlaneComponent holds settings common to control plane component of the cluster.
132132
type ControlPlaneComponent struct {
133133
// ExtraArgs is an extra set of flags to pass to the control plane component.
134-
// TODO: This is temporary and ideally we would like to switch all components to
135-
// use ComponentConfig + ConfigMaps.
134+
// TODO: This is temporary and ideally we would like to switch all components to use ComponentConfig + ConfigMaps.
136135
// +optional
137136
ExtraArgs map[string]string `json:"extraArgs,omitempty"`
138137

0 commit comments

Comments
 (0)