fix: do not cleanup compose applications as unconfigured
This commit is contained in:
parent
9c8f6e9195
commit
05a5816ac6
@ -122,6 +122,9 @@ export async function cleanupUnconfiguredApplications(request: FastifyRequest<an
|
|||||||
include: { settings: true, destinationDocker: true, teams: true }
|
include: { settings: true, destinationDocker: true, teams: true }
|
||||||
});
|
});
|
||||||
for (const application of applications) {
|
for (const application of applications) {
|
||||||
|
if (application?.buildPack === 'compose') {
|
||||||
|
continue;
|
||||||
|
}
|
||||||
if (
|
if (
|
||||||
!application.buildPack ||
|
!application.buildPack ||
|
||||||
!application.destinationDockerId ||
|
!application.destinationDockerId ||
|
||||||
|
@ -1083,6 +1083,9 @@ export const applicationsRouter = router({
|
|||||||
include: { settings: true, destinationDocker: true, teams: true }
|
include: { settings: true, destinationDocker: true, teams: true }
|
||||||
});
|
});
|
||||||
for (const application of applications) {
|
for (const application of applications) {
|
||||||
|
if (application?.buildPack === 'compose') {
|
||||||
|
continue;
|
||||||
|
}
|
||||||
if (
|
if (
|
||||||
!application.buildPack ||
|
!application.buildPack ||
|
||||||
!application.destinationDockerId ||
|
!application.destinationDockerId ||
|
||||||
|
Loading…
x
Reference in New Issue
Block a user