mirror of
https://github.com/PretendoNetwork/account.git
synced 2026-04-26 08:16:15 -05:00
feat: add health_check_port to provisioning config
This commit is contained in:
parent
b805019d28
commit
9ade12b51c
|
|
@ -15,7 +15,8 @@ const serverProvisioningSchema = z.object({
|
||||||
name: z.string(),
|
name: z.string(),
|
||||||
ip: z.string().optional(),
|
ip: z.string().optional(),
|
||||||
ipList: z.array(z.string()).optional(),
|
ipList: z.array(z.string()).optional(),
|
||||||
port: z.coerce.number()
|
port: z.coerce.number(),
|
||||||
|
health_check_port: z.coerce.number().optional()
|
||||||
}))
|
}))
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
@ -43,7 +44,8 @@ export async function handleServerProvisioning(): Promise<void> {
|
||||||
service_name: server.name,
|
service_name: server.name,
|
||||||
ipList: server.ipList,
|
ipList: server.ipList,
|
||||||
ip: server.ip,
|
ip: server.ip,
|
||||||
port: server.port
|
port: server.port,
|
||||||
|
health_check_port: server.health_check_port
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
if (!result) {
|
if (!result) {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user