mirror of
https://github.com/kubevela/kubevela.git
synced 2026-08-19 04:26:39 +00:00
Fix: add design docs for ResourceTracker (#2909)
* Fix: enhance rt logic and add docs Signed-off-by: Yin Da <yd219913@alibaba-inc.com> * Fix: test conflict Signed-off-by: Yin Da <yd219913@alibaba-inc.com>
This commit is contained in:
@@ -279,7 +279,7 @@ func (r *Reconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Resu
|
||||
if err := handler.resourceKeeper.StateKeep(ctx); err != nil {
|
||||
logCtx.Error(err, "Failed to run prevent-configuration-drift")
|
||||
r.Recorder.Event(app, event.Warning(velatypes.ReasonFailedStateKeep, err))
|
||||
return r.endWithNegativeCondition(logCtx, app, condition.ReconcileError(err), phase)
|
||||
app.Status.SetConditions(condition.ErrorCondition("StateKeep", err))
|
||||
}
|
||||
if err := garbageCollection(logCtx, handler); err != nil {
|
||||
logCtx.Error(err, "Failed to run garbage collection")
|
||||
|
||||
Reference in New Issue
Block a user