Merge pull request #13380 from chlins/fix/p2p-preheat-instance-bool-type-fields

fix(preheat): disable preheat model bool type json omitempty option
This commit is contained in:
疯魔慕薇 2020-10-31 23:44:41 +08:00 committed by GitHub
commit 828c8b8d0d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2005,12 +2005,15 @@ definitions:
enabled:
type: boolean
description: Whether the instance is activated or not
x-omitempty: false
default:
type: boolean
description: Whether the instance is default or not
x-omitempty: false
insecure:
type: boolean
description: Whether the instance endpoint is insecure or not
x-omitempty: false
setup_timestamp:
type: integer
format: int64
@ -2063,6 +2066,7 @@ definitions:
enabled:
type: boolean
description: Whether the preheat policy enabled
x-omitempty: false
creation_time:
type: string
format: date-time