Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
jlandowner committed Jun 13, 2024
1 parent 4fb4c59 commit e2caa9f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions internal/controllers/instance_controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -162,9 +162,9 @@ func (r *instanceReconciler) reconcileObjects(ctx context.Context, inst cosmov1a
created, err := r.apply(ctx, &built, r.FieldManager)
if err != nil {
errs = append(errs, fmt.Errorf("failed to create resource: kind = %s name = %s: %w", built.GetKind(), built.GetName(), err))
} else {
kosmo.InstanceEventf(r.Recorder, inst, corev1.EventTypeNormal, "Synced", "%s %s is created", built.GetKind(), built.GetName())
continue
}
kosmo.InstanceEventf(r.Recorder, inst, corev1.EventTypeNormal, "Synced", "%s %s is created", built.GetKind(), built.GetName())
currAppliedMap[created.GetUID()] = unstToObjectRef(created)

} else {
Expand Down

0 comments on commit e2caa9f

Please sign in to comment.