mirror of
https://github.com/argoproj/argo-cd
synced 2026-04-21 17:07:16 +00:00
parent
9d784e7e3f
commit
a9a28b7e42
1 changed files with 4 additions and 0 deletions
|
|
@ -437,6 +437,10 @@ func (m *appStateManager) CompareAppState(app *v1alpha1.Application, revision st
|
|||
} else {
|
||||
resState.Status = v1alpha1.SyncStatusCodeSynced
|
||||
}
|
||||
// we can't say anything about the status if we were unable to get the target objects
|
||||
if failedToLoadObjs {
|
||||
resState.Status = v1alpha1.SyncStatusCodeUnknown
|
||||
}
|
||||
managedResources[i] = managedResource{
|
||||
Name: resState.Name,
|
||||
Namespace: resState.Namespace,
|
||||
|
|
|
|||
Loading…
Reference in a new issue