File tree Expand file tree Collapse file tree 1 file changed +7
-5
lines changed
Expand file tree Collapse file tree 1 file changed +7
-5
lines changed Original file line number Diff line number Diff line change @@ -13,11 +13,12 @@ import { Server } from './models/server';
1313const serverProvisioningSchema = z . object ( {
1414 servers : z . array ( z . object ( {
1515 id : z . string ( ) ,
16- name : z . string ( ) ,
16+ name : z . string ( ) . optional ( ) ,
1717 ip : z . string ( ) . nullable ( ) . optional ( ) ,
18- ip_list : z . array ( z . string ( ) ) . default ( [ ] ) ,
19- port : z . number ( ) ,
20- health_check_port : z . number ( ) . nullable ( ) . optional ( )
18+ ip_list : z . array ( z . string ( ) ) . optional ( ) ,
19+ port : z . number ( ) . optional ( ) ,
20+ health_check_port : z . number ( ) . nullable ( ) . optional ( ) ,
21+ aes_key : z . string ( ) . optional ( )
2122 } ) )
2223} ) ;
2324
@@ -46,7 +47,8 @@ export async function handleServerProvisioning(): Promise<void> {
4647 ip_list : server . ip_list ,
4748 ip : server . ip ,
4849 port : server . port ,
49- health_check_port : server . health_check_port
50+ health_check_port : server . health_check_port ,
51+ aes_key : server . aes_key
5052 }
5153 } ) ;
5254 if ( ! result ) {
You can’t perform that action at this time.
0 commit comments