|
|
@ -124,10 +124,12 @@ export const runManifest: RequestHandler< |
|
|
|
const hostName = mapToHostNameData[hostUuid]; |
|
|
|
const hostName = mapToHostNameData[hostUuid]; |
|
|
|
const { anvil_name: anName } = hostUuidMapToData[hostUuid]; |
|
|
|
const { anvil_name: anName } = hostUuidMapToData[hostUuid]; |
|
|
|
|
|
|
|
|
|
|
|
assert( |
|
|
|
if (anName) { |
|
|
|
anName && anName !== manifestName, |
|
|
|
assert( |
|
|
|
`Host ${hostName} cannot be used for ${manifestName} because it belongs to ${anName}`, |
|
|
|
anName !== manifestName, |
|
|
|
); |
|
|
|
`Host [${hostName}] cannot be used for [${manifestName}] because it belongs to [${anName}]`, |
|
|
|
|
|
|
|
); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
joinAnJobs.push({ |
|
|
|
joinAnJobs.push({ |
|
|
|
debug, |
|
|
|
debug, |
|
|
|