Skip to content

Commit

Permalink
Merge pull request #4317 from Jaykul/fix-commit-log
Browse files Browse the repository at this point in the history
Correct "sync" to "component" in log lines
  • Loading branch information
stefanprodan authored Dec 12, 2023
2 parents 7b56fff + cdcf332 commit b0629d7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/bootstrap/bootstrap_plain_git.go
Original file line number Diff line number Diff line change
Expand Up @@ -174,11 +174,11 @@ func (b *PlainGitBootstrapper) ReconcileComponents(ctx context.Context, manifest
manifests.Path: strings.NewReader(manifests.Content),
}), repository.WithSigner(signer))
if err != nil && err != git.ErrNoStagedFiles {
return fmt.Errorf("failed to commit sync manifests: %w", err)
return fmt.Errorf("failed to commit component manifests: %w", err)
}

if err == nil {
b.logger.Successf("committed sync manifests to %q (%q)", b.branch, commit)
b.logger.Successf("committed component manifests to %q (%q)", b.branch, commit)
b.logger.Actionf("pushing component manifests to %q", b.url)
if err = b.gitClient.Push(ctx, repository.PushConfig{}); err != nil {
return fmt.Errorf("failed to push manifests: %w", err)
Expand Down

0 comments on commit b0629d7

Please sign in to comment.