Skip to content

Commit

Permalink
back to message.info
Browse files Browse the repository at this point in the history
Signed-off-by: Austin Abro <[email protected]>
  • Loading branch information
AustinAbro321 committed Oct 16, 2024
1 parent 9fc3e58 commit aaca9ef
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/internal/packager/images/push.go
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,6 @@ func Push(ctx context.Context, cfg PushConfig) error {
tunnel *cluster.Tunnel
registryURL = cfg.RegInfo.Address
)
spinner := message.NewProgressSpinner("Pushing images to Zarf registry")
defer spinner.Stop()
err = retry.Do(func() error {
c, _ := cluster.NewCluster()
if c != nil {
Expand Down Expand Up @@ -68,7 +66,7 @@ func Push(ctx context.Context, cfg PushConfig) error {
}
}()
for refInfo, img := range toPush {
spinner.Updatef("Pushing %s", refInfo.Reference)
message.Infof("Pushing %s", refInfo.Reference)
// If this is not a no checksum image push it for use with the Zarf agent
if !cfg.NoChecksum {
offlineNameCRC, err := transform.ImageTransformHost(registryURL, refInfo.Reference)
Expand Down Expand Up @@ -99,7 +97,6 @@ func Push(ctx context.Context, cfg PushConfig) error {
if err != nil {
return err
}
spinner.Success()

return nil
}

0 comments on commit aaca9ef

Please sign in to comment.