Alerting: Reject receiver update in config API when FlagAlertingApiServer enabled (#93300)
* Reject receiver update in config API when FlagAlertingApiServer enabled
This commit is contained in:
+4
-2
@@ -23,8 +23,9 @@
|
||||
"grafana_managed_receiver_configs": [
|
||||
{
|
||||
"type": "email",
|
||||
"name": "email receiver",
|
||||
"settings": {
|
||||
"addresses": "example@email.com"
|
||||
"addresses": "<example@email.com>"
|
||||
}
|
||||
}
|
||||
]
|
||||
@@ -34,6 +35,7 @@
|
||||
"grafana_managed_receiver_configs": [
|
||||
{
|
||||
"type": "email",
|
||||
"name": "user-defined",
|
||||
"settings": {
|
||||
"addresses": "example@email.com"
|
||||
}
|
||||
@@ -42,4 +44,4 @@
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user