Skip to content

Commit

Permalink
fix name
Browse files Browse the repository at this point in the history
Signed-off-by: Somtochi Onyekwere <[email protected]>
  • Loading branch information
somtochiama committed Nov 23, 2023
1 parent e81cbe1 commit 44c0ec0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions pkg/bootstrap/bootstrap.go
Original file line number Diff line number Diff line change
Expand Up @@ -66,9 +66,9 @@ type Reconciler interface {
// and pushing to remote if there are any changes.
ReconcileSyncConfig(ctx context.Context, options sync.Options) error

// ReportKustomizationHealth reports about the health of the
// ReportGitRepoAndKustomizationHealth reports about the health of the GitRepository
// Kustomization synchronizing the components.
ReportKustomizationHealth(ctx context.Context, options sync.Options, pollInterval, timeout time.Duration) error
ReportGitRepoAndKustomizationHealth(ctx context.Context, options sync.Options, pollInterval, timeout time.Duration) error

// ReportComponentsHealth reports about the health for the components
// and extra components in install.Options.
Expand Down Expand Up @@ -104,7 +104,7 @@ func Run(ctx context.Context, reconciler Reconciler, manifestsBase string,
}

var errs []error
if err := reconciler.ReportKustomizationHealth(ctx, syncOpts, pollInterval, timeout); err != nil {
if err := reconciler.ReportGitRepoAndKustomizationHealth(ctx, syncOpts, pollInterval, timeout); err != nil {
errs = append(errs, err)
}

Expand Down
2 changes: 1 addition & 1 deletion pkg/bootstrap/bootstrap_plain_git.go
Original file line number Diff line number Diff line change
Expand Up @@ -393,7 +393,7 @@ func (b *PlainGitBootstrapper) ReconcileSyncConfig(ctx context.Context, options
return nil
}

func (b *PlainGitBootstrapper) ReportKustomizationHealth(ctx context.Context, options sync.Options, pollInterval, timeout time.Duration) error {
func (b *PlainGitBootstrapper) ReportGitRepoAndKustomizationHealth(ctx context.Context, options sync.Options, pollInterval, timeout time.Duration) error {
head, err := b.gitClient.Head()
if err != nil {
return err
Expand Down

0 comments on commit 44c0ec0

Please sign in to comment.