This commit is contained in:
Andras Bacsai 2022-07-25 13:04:56 +00:00
parent 580545bb57
commit d833f33eb2

View File

@ -741,7 +741,8 @@ export async function getPreviews(request: FastifyRequest<OnlyId>) {
PRMRSecrets: []
}
}
const containers = JSON.parse(stdout).filter((container) => {
const jsonStdout = JSON.parse(stdout)
const containers = jsonStdout.filter((container) => {
return (
container.Labels['coolify.configuration'] &&
container.Labels['coolify.type'] === 'standalone-application'