Alerting: Fix alert enrichment API plural schema name (#110593)

This commit is contained in:
Alexander Akhmetov
2025-09-04 16:18:03 +02:00
committed by GitHub
parent 33722ac1b1
commit 000ada4cd1
@@ -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{