From b8c9dbccbc0b412fd7833d4df9d347953798b17b Mon Sep 17 00:00:00 2001 From: Cameron Bedard Date: Thu, 12 Jan 2023 16:21:23 -0500 Subject: [PATCH] fix outdated comment func name was changed in commit: 669f5be Fixes #57718 --- src/cmd/go/internal/vcs/vcs.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cmd/go/internal/vcs/vcs.go b/src/cmd/go/internal/vcs/vcs.go index 12ea052482..76e3b693b2 100644 --- a/src/cmd/go/internal/vcs/vcs.go +++ b/src/cmd/go/internal/vcs/vcs.go @@ -1270,7 +1270,7 @@ func urlForImportPath(importPath string) (*urlpkg.URL, error) { } // repoRootForImportDynamic finds a *RepoRoot for a custom domain that's not -// statically known by repoRootForImportPathStatic. +// statically known by repoRootFromVCSPaths. // // This handles custom import paths like "name.tld/pkg/foo" or just "name.tld". func repoRootForImportDynamic(importPath string, mod ModuleMode, security web.SecurityMode) (*RepoRoot, error) {