From 95dd774c272e54d44c4e5478928085244158a48d Mon Sep 17 00:00:00 2001 From: Akshansh Date: Wed, 31 Jul 2024 00:11:07 +0530 Subject: [PATCH] Update MesheryAnnotationPrefix value Signed-off-by: Akshansh --- models/meshmodel/core/v1beta1/application_component.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/models/meshmodel/core/v1beta1/application_component.go b/models/meshmodel/core/v1beta1/application_component.go index b2b546b0..13da7be2 100644 --- a/models/meshmodel/core/v1beta1/application_component.go +++ b/models/meshmodel/core/v1beta1/application_component.go @@ -36,7 +36,7 @@ type ComponentParameter struct { Description *string `json:"description,omitempty"` } -const MesheryAnnotationPrefix = "design.meshmodel.io" +const MesheryAnnotationPrefix = "id.design.meshery.io" func GetAPIVersionFromComponent(comp Component) string { return comp.Annotations[MesheryAnnotationPrefix+".k8s.APIVersion"]