Skip to content

Commit 0a3b912

Browse files
Merge pull request #91 from codefresh-io/CR-11547
CR-11547
2 parents 2885cee + fd7c61e commit 0a3b912

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

server/application/application.go

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1178,6 +1178,12 @@ func getResourceEventPayload(
11781178
actualState.Manifest = ""
11791179
}
11801180

1181+
if a.ObjectMeta.DeletionTimestamp != nil {
1182+
// resource should be deleted in case if application in process of deletion
1183+
desiredState.CompiledManifest = ""
1184+
actualState.Manifest = ""
1185+
}
1186+
11811187
if a.Status.OperationState != nil {
11821188
syncStarted = a.Status.OperationState.StartedAt
11831189
syncFinished = a.Status.OperationState.FinishedAt

0 commit comments

Comments
 (0)