mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
add missing option to swagger spec (#45070)
This commit is contained in:
@@ -355,6 +355,7 @@ type ExecutionErrorState string
|
|||||||
|
|
||||||
const (
|
const (
|
||||||
AlertingErrState ExecutionErrorState = "Alerting"
|
AlertingErrState ExecutionErrorState = "Alerting"
|
||||||
|
ErrorErrState ExecutionErrorState = "Error"
|
||||||
)
|
)
|
||||||
|
|
||||||
// swagger:model
|
// swagger:model
|
||||||
|
|||||||
@@ -874,10 +874,11 @@
|
|||||||
},
|
},
|
||||||
"exec_err_state": {
|
"exec_err_state": {
|
||||||
"enum": [
|
"enum": [
|
||||||
"Alerting"
|
"Alerting",
|
||||||
|
"Error"
|
||||||
],
|
],
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"x-go-enum-desc": "Alerting AlertingErrState",
|
"x-go-enum-desc": "Alerting AlertingErrState\nError ErrorErrState",
|
||||||
"x-go-name": "ExecErrState"
|
"x-go-name": "ExecErrState"
|
||||||
},
|
},
|
||||||
"id": {
|
"id": {
|
||||||
@@ -1835,10 +1836,11 @@
|
|||||||
},
|
},
|
||||||
"exec_err_state": {
|
"exec_err_state": {
|
||||||
"enum": [
|
"enum": [
|
||||||
"Alerting"
|
"Alerting",
|
||||||
|
"Error"
|
||||||
],
|
],
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"x-go-enum-desc": "Alerting AlertingErrState",
|
"x-go-enum-desc": "Alerting AlertingErrState\nError ErrorErrState",
|
||||||
"x-go-name": "ExecErrState"
|
"x-go-name": "ExecErrState"
|
||||||
},
|
},
|
||||||
"no_data_state": {
|
"no_data_state": {
|
||||||
|
|||||||
@@ -2627,9 +2627,10 @@
|
|||||||
"exec_err_state": {
|
"exec_err_state": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"enum": [
|
"enum": [
|
||||||
"Alerting"
|
"Alerting",
|
||||||
|
"Error"
|
||||||
],
|
],
|
||||||
"x-go-enum-desc": "Alerting AlertingErrState",
|
"x-go-enum-desc": "Alerting AlertingErrState\nError ErrorErrState",
|
||||||
"x-go-name": "ExecErrState"
|
"x-go-name": "ExecErrState"
|
||||||
},
|
},
|
||||||
"id": {
|
"id": {
|
||||||
@@ -3589,9 +3590,10 @@
|
|||||||
"exec_err_state": {
|
"exec_err_state": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"enum": [
|
"enum": [
|
||||||
"Alerting"
|
"Alerting",
|
||||||
|
"Error"
|
||||||
],
|
],
|
||||||
"x-go-enum-desc": "Alerting AlertingErrState",
|
"x-go-enum-desc": "Alerting AlertingErrState\nError ErrorErrState",
|
||||||
"x-go-name": "ExecErrState"
|
"x-go-name": "ExecErrState"
|
||||||
},
|
},
|
||||||
"no_data_state": {
|
"no_data_state": {
|
||||||
|
|||||||
Reference in New Issue
Block a user