From 2745047b27a327fd9d780371b4da648ffd0c6d1c Mon Sep 17 00:00:00 2001 From: Manendra Pal Singh Date: Thu, 29 Jan 2026 23:15:41 +0530 Subject: [PATCH] Fix : update the name RoleCDS to RoleDiscovery --- pkg/model/model.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkg/model/model.go b/pkg/model/model.go index 1cd08cc..de53254 100644 --- a/pkg/model/model.go +++ b/pkg/model/model.go @@ -104,8 +104,8 @@ const ( RoleGateway Role = "gateway" // RoleRegistery represents the Registry that maintains network participant details. RoleRegistery Role = "registery" - // RoleCDS represents the CDS for that network - RoleCDS Role = "cds" + // RoleDiscovery represents the discovery for that network + RoleDiscovery Role = "discovery" ) var validRoles = map[Role]bool{ @@ -113,7 +113,7 @@ var validRoles = map[Role]bool{ RoleBPP: true, RoleGateway: true, RoleRegistery: true, - RoleCDS: true, + RoleDiscovery: true, } // UnmarshalYAML implements custom YAML unmarshalling for Role to ensure only valid values are accepted.