Skip to content

Commit

Permalink
rebase main branch
Browse files Browse the repository at this point in the history
  • Loading branch information
zhuyi1159 committed Aug 21, 2024
1 parent 56cd472 commit abf6178
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion controllers/extensions/utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -827,7 +827,7 @@ func getKubeBlocksDeploy(ctx context.Context, r *AddonReconciler) (*v1.Deploymen
client.MatchingLabelsSelector{Selector: labelSelector}); err != nil {
return nil, err
}
if deploys.Items == nil || len(deploys.Items) == 0 {
if len(deploys.Items) == 0 {
return nil, fmt.Errorf("there is no KubeBlocks deployment, please check your cluster")
}
if len(deploys.Items) > 1 {
Expand Down

0 comments on commit abf6178

Please sign in to comment.