This commit is contained in:
Andras Bacsai 2023-02-21 13:23:34 +01:00
parent 906d181d1b
commit d9362f09d8

View File

@ -75,7 +75,7 @@ export async function startService(request: FastifyRequest<ServiceStartStop>, fa
} }
const customVolumes = await prisma.servicePersistentStorage.findMany({ where: { serviceId: id } }) const customVolumes = await prisma.servicePersistentStorage.findMany({ where: { serviceId: id } })
let volumes = new Set() let volumes = new Set()
console.log(template.services[s].volumes, arm) console.log(template.services[s], arm)
if (arm && template.services[s]?.volumesArm?.length > 0) { if (arm && template.services[s]?.volumesArm?.length > 0) {
template.services[s].volumesArm.forEach(v => volumes.add(v)) template.services[s].volumesArm.forEach(v => volumes.add(v))
} else { } else {