fix outdated comment

func name was changed in commit: 669f5be

Fixes #57718
This commit is contained in:
Cameron Bedard 2023-01-12 16:21:23 -05:00
parent 245e95dfab
commit b8c9dbccbc
1 changed files with 1 additions and 1 deletions

View File

@ -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) {