Skip to content

Commit

Permalink
fix performing spelling
Browse files Browse the repository at this point in the history
Signed-off-by: Austin Abro <AustinAbro321@gmail.com>
  • Loading branch information
AustinAbro321 committed Oct 31, 2024
1 parent ef2a807 commit ad895a6
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
6 changes: 3 additions & 3 deletions src/internal/packager/helm/chart.go
Original file line number Diff line number Diff line change
Expand Up @@ -82,13 +82,13 @@ func (h *Helm) InstallOrUpgradeChart(ctx context.Context) (types.ConnectStrings,
if errors.Is(histErr, driver.ErrReleaseNotFound) {
// No prior release, try to install it.
spinner.Updatef("Attempting chart installation")
l.Info("preforming Helm install", "chart", h.chart.Name)
l.Info("performing Helm install", "chart", h.chart.Name)

release, err = h.installChart(helmCtx, postRender)
} else if histErr == nil && len(releases) > 0 {
// Otherwise, there is a prior release so upgrade it.
spinner.Updatef("Attempting chart upgrade")
l.Info("preforming Helm upgrade", "chart", h.chart.Name)
l.Info("performing Helm upgrade", "chart", h.chart.Name)

lastRelease := releases[len(releases)-1]

Expand Down Expand Up @@ -125,7 +125,7 @@ func (h *Helm) InstallOrUpgradeChart(ctx context.Context) (types.ConnectStrings,

// Attempt to rollback on a failed upgrade.
spinner.Updatef("Performing chart rollback")
l.Info("preforming Helm rollback", "chart", h.chart.Name)
l.Info("performing Helm rollback", "chart", h.chart.Name)
err = h.rollbackChart(h.chart.ReleaseName, previouslyDeployedVersion)
if err != nil {
return nil, "", fmt.Errorf("%w: unable to rollback: %w", installErr, err)
Expand Down
2 changes: 1 addition & 1 deletion src/pkg/cluster/data.go
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ func (c *Cluster) HandleDataInjection(ctx context.Context, data v1alpha1.ZarfDat
}

message.Debugf("Attempting to inject data into %s", data.Target)
l.Debug("preforming data injection", "target", data.Target)
l.Debug("performing data injection", "target", data.Target)

source := filepath.Join(componentPath.DataInjections, filepath.Base(data.Target.Path))
if helpers.InvalidPath(source) {
Expand Down
1 change: 0 additions & 1 deletion src/pkg/packager/deploy.go
Original file line number Diff line number Diff line change
Expand Up @@ -506,7 +506,6 @@ func (p *Packager) setupState(ctx context.Context) error {
// YOLO mode, so minimal state needed
state.Distro = "YOLO"

// Try to create the zarf namespace
spinner.Updatef("Creating the Zarf namespace")
l.Info("creating the Zarf namespace")
zarfNamespace := cluster.NewZarfManagedNamespace(cluster.ZarfNamespaceName)
Expand Down

0 comments on commit ad895a6

Please sign in to comment.