Skip to content

Commit c97c129

Browse files
committed
fixup! fix: rename to CNCFDistribution
1 parent 816ffaa commit c97c129

File tree

1 file changed

+4
-4
lines changed
  • pkg/handlers/generic/lifecycle/registry/cncfdistribution

1 file changed

+4
-4
lines changed

pkg/handlers/generic/lifecycle/registry/cncfdistribution/handler.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ func (c *Config) AddFlags(prefix string, flags *pflag.FlagSet) {
4141
)
4242
}
4343

44-
type Distribution struct {
44+
type CNCFDistribution struct {
4545
client ctrlclient.Client
4646
config *Config
4747
helmChartInfoGetter *config.HelmChartGetter
@@ -51,15 +51,15 @@ func New(
5151
c ctrlclient.Client,
5252
cfg *Config,
5353
helmChartInfoGetter *config.HelmChartGetter,
54-
) *Distribution {
55-
return &Distribution{
54+
) *CNCFDistribution {
55+
return &CNCFDistribution{
5656
client: c,
5757
config: cfg,
5858
helmChartInfoGetter: helmChartInfoGetter,
5959
}
6060
}
6161

62-
func (n *Distribution) Apply(
62+
func (n *CNCFDistribution) Apply(
6363
ctx context.Context,
6464
_ v1alpha1.RegistryAddon,
6565
cluster *clusterv1.Cluster,

0 commit comments

Comments
 (0)