Alerting: Fix alert enrichment API plural schema name (#110593)
This commit is contained in:
@@ -7,7 +7,7 @@ import (
|
||||
// schema is unexported to prevent accidental overwrites
|
||||
var (
|
||||
schemaAlertEnrichment = resource.NewSimpleSchema(APIGroup, APIVersion, &AlertEnrichment{}, &AlertEnrichmentList{}, resource.WithKind("AlertEnrichment"),
|
||||
resource.WithPlural("alertenrichments"), resource.WithScope(resource.NamespacedScope))
|
||||
resource.WithPlural("alert-enrichments"), resource.WithScope(resource.NamespacedScope))
|
||||
kindAlertEnrichment = resource.Kind{
|
||||
Schema: schemaAlertEnrichment,
|
||||
Codecs: map[resource.KindEncoding]resource.Codec{
|
||||
|
||||
Reference in New Issue
Block a user