From 70a15f709c7fd2fd33b41db9b98477cd756cedc0 Mon Sep 17 00:00:00 2001 From: riccardom Date: Wed, 2 Sep 2026 16:05:55 +0200 Subject: [PATCH] [client] Name the reader storedConfigAtPath actually calls The purity note still said profilemanager.GetConfig, which the rename two commits later turned into GetExistingConfig. Reported by cubic-dev-ai on PR #7398. --- client/server/server.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/client/server/server.go b/client/server/server.go index cee1e7815..d352a6648 100644 --- a/client/server/server.go +++ b/client/server/server.go @@ -1166,9 +1166,9 @@ func (s *Server) storedLoginConfig(activeProf *profilemanager.ActiveProfileState // storedConfigAtPath reads a profile config file, yielding nil when it does not // exist yet. // -// Reading it has no side effect: profilemanager.GetConfig does not write, so a -// request that the gates go on to refuse leaves the profile file as it found -// it. +// Reading it has no side effect: profilemanager.GetExistingConfig does not +// write, so a request that the gates go on to refuse leaves the profile file as +// it found it. func (s *Server) storedConfigAtPath(path string) (*profilemanager.Config, error) { if _, err := os.Stat(path); err != nil { if os.IsNotExist(err) {