Skip to content

Commit

Permalink
chore: add more fields to refresh log
Browse files Browse the repository at this point in the history
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>
  • Loading branch information
crenshaw-dev committed Dec 9, 2024
1 parent af54ef8 commit 24c2926
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions controller/appcontroller.go
Original file line number Diff line number Diff line change
Expand Up @@ -1810,6 +1810,7 @@ func (ctrl *ApplicationController) needRefreshAppStatus(app *appv1.Application,
}

if reason != "" {
logCtx = logCtx.WithField("resourceVersion", app.ResourceVersion).WithField("reconciledAt", app.Status.ReconciledAt)
logCtx.Infof("Refreshing app status (%s), level (%d)", reason, compareWith)
return true, refreshType, compareWith
}
Expand Down

0 comments on commit 24c2926

Please sign in to comment.