mirror of
https://github.com/argoproj/argo-cd
synced 2026-05-22 00:38:38 +00:00
This commit is contained in:
parent
4d494f3a1b
commit
ac7906fdea
1 changed files with 3 additions and 0 deletions
|
|
@ -1483,6 +1483,9 @@ const printOpFmtStr = "%-20s%s\n"
|
|||
const defaultCheckTimeoutSeconds = 0
|
||||
|
||||
func printOperationResult(opState *argoappv1.OperationState) {
|
||||
if opState == nil {
|
||||
return
|
||||
}
|
||||
if opState.SyncResult != nil {
|
||||
fmt.Printf(printOpFmtStr, "Operation:", "Sync")
|
||||
fmt.Printf(printOpFmtStr, "Sync Revision:", opState.SyncResult.Revision)
|
||||
|
|
|
|||
Loading…
Reference in a new issue