From fad96869c52a0c6af99aaa6c86a4e835b15c97e0 Mon Sep 17 00:00:00 2001 From: Ben Date: Thu, 31 Oct 2024 11:53:12 +0200 Subject: [PATCH] Enable changing name of ConfigService Signed-off-by: Ben --- types/types.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types/types.go b/types/types.go index fb074db..2af2adc 100644 --- a/types/types.go +++ b/types/types.go @@ -413,7 +413,7 @@ type RuntimeIncident struct { ResolveDayDate *time.Time `json:"resolveDayDate,omitempty" bson:"resolveDayDate,omitempty"` } -var runtimeIncidentReadOnlyFields = append([]string{"creationTimestamp", "creationDayDate"}, commonReadOnlyFieldsV1...) +var runtimeIncidentReadOnlyFields = append([]string{"creationTimestamp", "creationDayDate"}, commonReadOnlyFieldsAllowRename...) func (r *RuntimeIncident) GetReadOnlyFields() []string { readOnlyFields := runtimeIncidentReadOnlyFields