Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
ukff committed Jan 13, 2025
1 parent c7e73d8 commit b756b04
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions controllers/btpoperator_controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -868,6 +868,7 @@ func (r *BtpOperatorReconciler) isDeploymentAvailable(ctx context.Context, deplo
go r.checkDeploymentReadiness(ctx, &un, rr)
ready := <-rr
if ready.Ready {
fmt.Printf("deployment %s in namespace %s is ready\n", un.GetName(), un.GetNamespace())
return nil
} else {
return fmt.Errorf("deployment %s in namespace %s is not ready", un.GetName(), un.GetNamespace())
Expand Down

0 comments on commit b756b04

Please sign in to comment.