Skip to content

Commit

Permalink
Merge pull request #1469 from usiegj00/jas-fix-typo-on-cluster-buildp…
Browse files Browse the repository at this point in the history
…ack-status

Fix a minor typo ClusterBuilderpack...
  • Loading branch information
chenbh authored Jan 2, 2024
2 parents c590277 + c184433 commit f63d01d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/reconciler/clusterbuildpack/clusterbuildpack.go
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ func (c *Reconciler) Reconcile(ctx context.Context, key string) error {

clusterBuildpack = clusterBuildpack.DeepCopy()

clusterBuildpack, err = c.reoncileClusterBuildpackStatus(ctx, clusterBuildpack)
clusterBuildpack, err = c.reconcileClusterBuildpackStatus(ctx, clusterBuildpack)

updateErr := c.updateClusterBuildpackStatus(ctx, clusterBuildpack)
if updateErr != nil {
Expand Down Expand Up @@ -110,7 +110,7 @@ func (c *Reconciler) updateClusterBuildpackStatus(ctx context.Context, desired *
return err
}

func (c *Reconciler) reoncileClusterBuildpackStatus(ctx context.Context, clusterBuildpack *buildapi.ClusterBuildpack) (*buildapi.ClusterBuildpack, error) {
func (c *Reconciler) reconcileClusterBuildpackStatus(ctx context.Context, clusterBuildpack *buildapi.ClusterBuildpack) (*buildapi.ClusterBuildpack, error) {
secretRef := registry.SecretRef{}

if clusterBuildpack.Spec.ServiceAccountRef != nil {
Expand Down

0 comments on commit f63d01d

Please sign in to comment.