From a5bd310d7cfef629e2d62dafdb7be24acadfa3a8 Mon Sep 17 00:00:00 2001 From: dc-bytedance Date: Wed, 8 Jul 2026 16:54:23 +0800 Subject: [PATCH] refactor: drop service description getters orphaned by interactive page removal --- internal/registry/service_desc.go | 20 -------------------- 1 file changed, 20 deletions(-) diff --git a/internal/registry/service_desc.go b/internal/registry/service_desc.go index da2a6b5fc..022f05081 100644 --- a/internal/registry/service_desc.go +++ b/internal/registry/service_desc.go @@ -58,26 +58,6 @@ func GetServiceDescription(name, lang string) string { return loc.Description } -// GetServiceTitle returns the localized title for a service domain. -// Returns empty string if not found. -func GetServiceTitle(name, lang string) string { - loc := getServiceLocale(name, lang) - if loc == nil { - return "" - } - return loc.Title -} - -// GetServiceDetailDescription returns the localized detail description for a service domain. -// Returns empty string if not found. -func GetServiceDetailDescription(name, lang string) string { - loc := getServiceLocale(name, lang) - if loc == nil { - return "" - } - return loc.Description -} - // GetAuthDomain returns the auth_domain for a service, or "" if not set. // When auth_domain is set, the service's scopes are collected under the // parent domain during auth login.