Skip to content

Commit 70eb68f

Browse files
committed
Use new waiting functions
1 parent 1bf205d commit 70eb68f

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

internal/deployer/deploy_via_operator.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ func (d *Deployer) deployCentralOperator(ctx context.Context) error {
137137
return fmt.Errorf("failed to apply Central CR: %w", err)
138138
}
139139

140-
if err := d.waitForCentralReady(ctx); err != nil {
140+
if err := d.waitForComponentReady(ctx, component.Central); err != nil {
141141
return fmt.Errorf("failed waiting for Central: %w", err)
142142
}
143143

@@ -687,7 +687,7 @@ func (d *Deployer) deploySecuredClusterOperator(ctx context.Context) error {
687687
return fmt.Errorf("failed to apply SecuredCluster CR: %w", err)
688688
}
689689

690-
if err := d.waitForSecuredClusterReady(ctx); err != nil {
690+
if err := d.waitForComponentReady(ctx, component.SecuredCluster); err != nil {
691691
return fmt.Errorf("failed waiting for SecuredCluster: %w", err)
692692
}
693693

0 commit comments

Comments
 (0)