fix: recognize descendant gitops revisions
This commit is contained in:
@@ -88,6 +88,7 @@ function renderNodeStatus(result: Record<string, unknown>, full: boolean): Rende
|
||||
short(stringValue(row.sourceCommit)),
|
||||
short(stringValue(row.gitopsCommit)),
|
||||
`${stringValue(record(row.argo).sync)}/${stringValue(record(row.argo).health)}`,
|
||||
stringValue(record(record(row.argo).revisionRelation).relation),
|
||||
runtimeText(record(row.runtime)),
|
||||
stringValue(row.reason),
|
||||
]);
|
||||
@@ -110,7 +111,7 @@ function renderNodeStatus(result: Record<string, unknown>, full: boolean): Rende
|
||||
]]),
|
||||
"",
|
||||
"CONSUMERS",
|
||||
...(rows.length === 0 ? ["-"] : table(["CONSUMER", "READY", "PIPELINE", "DUR", "SOURCE", "GITOPS", "ARGO", "RUNTIME", "REASON"], rows)),
|
||||
...(rows.length === 0 ? ["-"] : table(["CONSUMER", "READY", "PIPELINE", "DUR", "SOURCE", "GITOPS", "ARGO", "RELATION", "RUNTIME", "REASON"], rows)),
|
||||
"",
|
||||
...(full ? [
|
||||
"DETAIL",
|
||||
|
||||
Reference in New Issue
Block a user