Skip to content

Commit

Permalink
Merge pull request #91 from codefresh-io/CR-11547
Browse files Browse the repository at this point in the history
CR-11547
  • Loading branch information
pasha-codefresh authored May 23, 2022
2 parents 2885cee + fd7c61e commit 0a3b912
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions server/application/application.go
Original file line number Diff line number Diff line change
Expand Up @@ -1178,6 +1178,12 @@ func getResourceEventPayload(
actualState.Manifest = ""
}

if a.ObjectMeta.DeletionTimestamp != nil {
// resource should be deleted in case if application in process of deletion
desiredState.CompiledManifest = ""
actualState.Manifest = ""
}

if a.Status.OperationState != nil {
syncStarted = a.Status.OperationState.StartedAt
syncFinished = a.Status.OperationState.FinishedAt
Expand Down

0 comments on commit 0a3b912

Please sign in to comment.