chore: Update the types hopefully

This commit is contained in:
J H
2024-03-14 15:29:01 -06:00
parent 45d50b12fd
commit a310c160a5
4 changed files with 19 additions and 15 deletions

View File

@@ -33,11 +33,16 @@ export class DockerProcedureContainer {
await overlay.mount({ type: "assets", id: mount }, mounts[mount])
} else if (volumeMount.type === "certificate") {
volumeMount
const certChain = await effects.getSslCertificate(
null,
volumeMount["interface-id"],
)
const key = await effects.getSslKey(null, volumeMount["interface-id"])
const certChain = await effects.getSslCertificate({
packageId: null,
hostId: volumeMount["interface-id"],
algorithm: null,
})
const key = await effects.getSslKey({
packageId: null,
hostId: volumeMount["interface-id"],
algorithm: null,
})
await fs.writeFile(
`${path}/${volumeMount["interface-id"]}.cert.pem`,
certChain.join("\n"),

View File

@@ -186,6 +186,7 @@ export class MainLoop {
if ("result" in result) {
await effects.setHealth({
message: null,
name: healthId,
status: "passing",
})