Skip to content

Commit

Permalink
Reduce logging noise
Browse files Browse the repository at this point in the history
  • Loading branch information
jpreese committed Jul 20, 2020
1 parent f785635 commit 0eb979d
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 3 deletions.
1 change: 0 additions & 1 deletion internal/commands/pull.go
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,6 @@ func runPullCommand(origin string, manifestPath string) error {
if err := client.PullImageAndWait(ctx, image, auth); err != nil {
return fmt.Errorf("pull image and wait: %w", err)
}
log.Infof("Pulled %s", image)
}

log.Infof("All images have been pulled!")
Expand Down
2 changes: 0 additions & 2 deletions internal/commands/push.go
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,6 @@ func runPushCommand(manifestPath string) error {
if err := client.PullImageAndWait(ctx, source.Image(), sourceAuth); err != nil {
return fmt.Errorf("pull image and wait: %w", err)
}
log.Infof("Pulled %s", source.Image())

if err := client.Tag(ctx, source.Image(), source.TargetImage()); err != nil {
return fmt.Errorf("tag image: %w", err)
Expand All @@ -129,7 +128,6 @@ func runPushCommand(manifestPath string) error {
if err := client.PushImageAndWait(ctx, source.TargetImage(), targetAuth); err != nil {
return fmt.Errorf("push image and wait: %w", err)
}
log.Infof("Pushed %s", source.TargetImage())
}

log.Infof("All images have been pushed!")
Expand Down

0 comments on commit 0eb979d

Please sign in to comment.