From 88a6de92800418cf0af5e01af48a79a24561cbb0 Mon Sep 17 00:00:00 2001 From: Ingo Oppermann Date: Fri, 11 Jul 2025 13:54:58 +0200 Subject: [PATCH] Fix typo in json field name --- cluster/docs/ClusterAPI_docs.go | 2 +- cluster/docs/ClusterAPI_swagger.json | 2 +- cluster/docs/ClusterAPI_swagger.yaml | 2 +- config/data.go | 2 +- docs/docs.go | 6 +++--- docs/swagger.json | 6 +++--- docs/swagger.yaml | 6 +++--- http/api/progress.go | 2 +- 8 files changed, 14 insertions(+), 14 deletions(-) diff --git a/cluster/docs/ClusterAPI_docs.go b/cluster/docs/ClusterAPI_docs.go index c0b656ec..b8444b26 100644 --- a/cluster/docs/ClusterAPI_docs.go +++ b/cluster/docs/ClusterAPI_docs.go @@ -1805,7 +1805,7 @@ const docTemplateClusterAPI = `{ "type": "string" } }, - "revocer_timeout_sec": { + "recover_timeout_sec": { "description": "seconds", "type": "integer", "format": "int64" diff --git a/cluster/docs/ClusterAPI_swagger.json b/cluster/docs/ClusterAPI_swagger.json index 95fc74bd..4711ee7e 100644 --- a/cluster/docs/ClusterAPI_swagger.json +++ b/cluster/docs/ClusterAPI_swagger.json @@ -1798,7 +1798,7 @@ "type": "string" } }, - "revocer_timeout_sec": { + "recover_timeout_sec": { "description": "seconds", "type": "integer", "format": "int64" diff --git a/cluster/docs/ClusterAPI_swagger.yaml b/cluster/docs/ClusterAPI_swagger.yaml index 9e508c41..c8638b8c 100644 --- a/cluster/docs/ClusterAPI_swagger.yaml +++ b/cluster/docs/ClusterAPI_swagger.yaml @@ -350,7 +350,7 @@ definitions: items: type: string type: array - revocer_timeout_sec: + recover_timeout_sec: description: seconds format: int64 type: integer diff --git a/config/data.go b/config/data.go index bfd3fa49..39d0231b 100644 --- a/config/data.go +++ b/config/data.go @@ -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"` diff --git a/docs/docs.go b/docs/docs.go index 28254da1..99fd0b48 100644 --- a/docs/docs.go +++ b/docs/docs.go @@ -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" diff --git a/docs/swagger.json b/docs/swagger.json index c25ffd46..5a3e932c 100644 --- a/docs/swagger.json +++ b/docs/swagger.json @@ -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" diff --git a/docs/swagger.yaml b/docs/swagger.yaml index 12b5a4f9..3da5e864 100644 --- a/docs/swagger.yaml +++ b/docs/swagger.yaml @@ -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 diff --git a/http/api/progress.go b/http/api/progress.go index 3707a14b..fc8a18df 100644 --- a/http/api/progress.go +++ b/http/api/progress.go @@ -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"` }