Correct "sync" to "component" in log lines

Signed-off-by: Joel Bennett <Jaykul@HuddledMasses.org>
fix-commit-log
Joel Bennett 1 year ago committed by Stefan Prodan
parent b742799307
commit 2d3f3a4be5
No known key found for this signature in database
GPG Key ID: 3299AEB0E4085BAF

@ -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)

Loading…
Cancel
Save