From 2b1daf879048461e9b845f0cd3f35f224f79d66f Mon Sep 17 00:00:00 2001 From: Ted Kim Date: Sat, 20 Jun 2026 14:51:35 -0400 Subject: [PATCH] docs(functions): clarify invoke token selection --- internal/config/config.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/internal/config/config.go b/internal/config/config.go index 0681303..4e4f9c1 100644 --- a/internal/config/config.go +++ b/internal/config/config.go @@ -155,8 +155,8 @@ func (c *Config) Token() string { } // FunctionInvokeToken returns the token used for runtime function invocation. -// Local mode supplies service and anon keys for invoke endpoints; cloud falls -// back to the normal configured token until a project invoke key is available. +// Local mode supplies credentials from local info; cloud uses the configured +// token from `volcano login` or VOLCANO_TOKEN and relies on hosting to authorize it. func (c *Config) FunctionInvokeToken() string { if strings.TrimSpace(c.ServiceKey) != "" { return c.ServiceKey