From 521ec6f1b8436cbbf5b859853d15767851e8e6fd Mon Sep 17 00:00:00 2001 From: hkfires <10558748+hkfires@users.noreply.github.com> Date: Tue, 16 Dec 2025 22:55:38 +0800 Subject: [PATCH] fix(watcher): simplify vertex apikey idKind to exclude base suffix --- internal/watcher/watcher.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/watcher/watcher.go b/internal/watcher/watcher.go index bb682840..b2935908 100644 --- a/internal/watcher/watcher.go +++ b/internal/watcher/watcher.go @@ -1150,7 +1150,7 @@ func (w *Watcher) SnapshotCoreAuths() []*coreauth.Auth { key := strings.TrimSpace(compat.APIKey) proxyURL := strings.TrimSpace(compat.ProxyURL) - idKind := fmt.Sprintf("vertex:apikey:%s", base) + idKind := "vertex:apikey" id, token := idGen.next(idKind, key, base, proxyURL) attrs := map[string]string{ "source": fmt.Sprintf("config:vertex-apikey[%s]", token),