Skip to content

Commit

Permalink
typo
Browse files Browse the repository at this point in the history
  • Loading branch information
Richard87 committed Aug 26, 2024
1 parent 1a376be commit e94c0a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/apis/deployment/kubedeployment.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ func (deploy *Deployment) reconcileDeployment(ctx context.Context, deployCompone
return err
}

// If component jas manual override or HorizontalScaling is nil then delete hpa if exists before updating deployment
// If component has manual override or HorizontalScaling is nil then delete hpa if exists before updating deployment
if deployComponent.GetReplicasOverride() != nil || deployComponent.GetHorizontalScaling() == nil {
err = deploy.deleteScaledObjectIfExists(ctx, deployComponent.GetName())
if err != nil {
Expand Down

0 comments on commit e94c0a6

Please sign in to comment.