Skip to content

Commit

Permalink
Correct "sync" to "component" in log lines
Browse files Browse the repository at this point in the history
Signed-off-by: Joel Bennett <Jaykul@HuddledMasses.org>
  • Loading branch information
Jaykul committed Oct 16, 2023
1 parent 771b7ab commit 4deb593
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 @@ -170,11 +170,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 4deb593

Please sign in to comment.