Skip to content

Commit

Permalink
test: fix
Browse files Browse the repository at this point in the history
  • Loading branch information
bzp2010 committed Nov 7, 2024
1 parent 6b2786f commit 560426f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 10 deletions.
8 changes: 4 additions & 4 deletions apps/cli/src/linter/schema.ts
Original file line number Diff line number Diff line change
Expand Up @@ -138,10 +138,10 @@ const upstreamSchema = z
timeout: timeoutSchema.optional(),
tls: z
.object({
client_cert: z.string(),
client_key: z.string(),
client_cert_id: z.string(),
verify: z.boolean(),
client_cert: z.string().optional(),
client_key: z.string().optional(),
client_cert_id: z.string().optional(),
verify: z.boolean().optional(),
})
.strict()
.refine(
Expand Down
6 changes: 0 additions & 6 deletions schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -325,12 +325,6 @@
"type": "boolean"
}
},
"required": [
"client_cert",
"client_key",
"client_cert_id",
"verify"
],
"additionalProperties": false
},
"keepalive_pool": {
Expand Down

0 comments on commit 560426f

Please sign in to comment.