ensure repo is up to date before printing status

This commit is contained in:
2026-01-14 16:58:21 -08:00
parent 5b3929d885
commit 304ac87cec

View File

@ -113,6 +113,13 @@ Use "--status/-S" flag to query all servers for the live deployment status.`),
totalAppsCount++
if status {
if err := app.Recipe.EnsureUpToDate(); err != nil {
log.Warnf(
"Failed to ensure repo is up to date for recipe: %s err: %s",
app.Recipe.Name,
err,
)
}
status := i18n.G("unknown")
version := i18n.G("unknown")
chaos := i18n.G("unknown")