Skip to content

Commit

Permalink
improve
Browse files Browse the repository at this point in the history
  • Loading branch information
labuladong committed Jul 29, 2024
1 parent 85abab2 commit d96cee2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/connection/reconcile_topic.go
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ func (r *PulsarTopicReconciler) ReconcileTopic(ctx context.Context, pulsarAdmin
meta.SetStatusCondition(&topic.Status.Conditions,
NewTopicReadyCondition(topic.Generation, resourcev1alpha1.ConditionReady))
}
if len(policyErrs) != 0 {
if len(policyErrs) != 0 || creationErr != nil {
msg := ""
for _, err := range policyErrs {
msg += err.Error() + ";\n"
Expand Down

0 comments on commit d96cee2

Please sign in to comment.