mirror of
https://github.com/PretendoNetwork/account.git
synced 2026-03-21 17:44:49 -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(),
|
||||
ip: 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,
|
||||
ipList: server.ipList,
|
||||
ip: server.ip,
|
||||
port: server.port
|
||||
port: server.port,
|
||||
health_check_port: server.health_check_port
|
||||
}
|
||||
});
|
||||
if (!result) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user