mirror of
https://github.com/datarhei/core.git
synced 2025-09-26 20:11:29 +08:00
Fix typo in json field name
This commit is contained in:
@@ -1805,7 +1805,7 @@ const docTemplateClusterAPI = `{
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"revocer_timeout_sec": {
|
||||
"recover_timeout_sec": {
|
||||
"description": "seconds",
|
||||
"type": "integer",
|
||||
"format": "int64"
|
||||
|
@@ -1798,7 +1798,7 @@
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"revocer_timeout_sec": {
|
||||
"recover_timeout_sec": {
|
||||
"description": "seconds",
|
||||
"type": "integer",
|
||||
"format": "int64"
|
||||
|
@@ -350,7 +350,7 @@ definitions:
|
||||
items:
|
||||
type: string
|
||||
type: array
|
||||
revocer_timeout_sec:
|
||||
recover_timeout_sec:
|
||||
description: seconds
|
||||
format: int64
|
||||
type: integer
|
||||
|
@@ -200,7 +200,7 @@ type Data struct {
|
||||
SyncInterval int64 `json:"sync_interval_sec" format:"int64"` // seconds
|
||||
NodeRecoverTimeout int64 `json:"node_recover_timeout_sec" format:"int64"` // seconds
|
||||
EmergencyLeaderTimeout int64 `json:"emergency_leader_timeout_sec" format:"int64"` // seconds
|
||||
RecoverTimeout int64 `json:"revocer_timeout_sec" format:"int64"` // seconds
|
||||
RecoverTimeout int64 `json:"recover_timeout_sec" format:"int64"` // seconds
|
||||
Debug struct {
|
||||
DisableFFmpegCheck bool `json:"disable_ffmpeg_check"`
|
||||
} `json:"debug"`
|
||||
|
@@ -5992,7 +5992,7 @@ const docTemplate = `{
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"revocer_timeout_sec": {
|
||||
"recover_timeout_sec": {
|
||||
"description": "seconds",
|
||||
"type": "integer",
|
||||
"format": "int64"
|
||||
@@ -7898,7 +7898,7 @@ const docTemplate = `{
|
||||
"fifo_enabled": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"fifo_revocery_attempts_total": {
|
||||
"fifo_recovery_attempts_total": {
|
||||
"type": "number"
|
||||
},
|
||||
"fifo_state": {
|
||||
@@ -8553,7 +8553,7 @@ const docTemplate = `{
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"revocer_timeout_sec": {
|
||||
"recover_timeout_sec": {
|
||||
"description": "seconds",
|
||||
"type": "integer",
|
||||
"format": "int64"
|
||||
|
@@ -5985,7 +5985,7 @@
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"revocer_timeout_sec": {
|
||||
"recover_timeout_sec": {
|
||||
"description": "seconds",
|
||||
"type": "integer",
|
||||
"format": "int64"
|
||||
@@ -7891,7 +7891,7 @@
|
||||
"fifo_enabled": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"fifo_revocery_attempts_total": {
|
||||
"fifo_recovery_attempts_total": {
|
||||
"type": "number"
|
||||
},
|
||||
"fifo_state": {
|
||||
@@ -8546,7 +8546,7 @@
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"revocer_timeout_sec": {
|
||||
"recover_timeout_sec": {
|
||||
"description": "seconds",
|
||||
"type": "integer",
|
||||
"format": "int64"
|
||||
|
@@ -493,7 +493,7 @@ definitions:
|
||||
items:
|
||||
type: string
|
||||
type: array
|
||||
revocer_timeout_sec:
|
||||
recover_timeout_sec:
|
||||
description: seconds
|
||||
format: int64
|
||||
type: integer
|
||||
@@ -1785,7 +1785,7 @@ definitions:
|
||||
type: string
|
||||
fifo_enabled:
|
||||
type: boolean
|
||||
fifo_revocery_attempts_total:
|
||||
fifo_recovery_attempts_total:
|
||||
type: number
|
||||
fifo_state:
|
||||
type: string
|
||||
@@ -2291,7 +2291,7 @@ definitions:
|
||||
items:
|
||||
type: string
|
||||
type: array
|
||||
revocer_timeout_sec:
|
||||
recover_timeout_sec:
|
||||
description: seconds
|
||||
format: int64
|
||||
type: integer
|
||||
|
@@ -17,7 +17,7 @@ type ProgressIOTee struct {
|
||||
Format string `json:"format"`
|
||||
State string `json:"state"`
|
||||
Fifo bool `json:"fifo_enabled"`
|
||||
FifoRecoveryAttempts json.Number `json:"fifo_revocery_attempts_total" swaggertype:"number" jsonschema:"type=number"`
|
||||
FifoRecoveryAttempts json.Number `json:"fifo_recovery_attempts_total" swaggertype:"number" jsonschema:"type=number"`
|
||||
FifoState string `json:"fifo_state"`
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user