diff options
| author | Julie Qiu <julie@golang.org> | 2020-04-16 14:06:18 -0400 |
|---|---|---|
| committer | Julie Qiu <julieqiu@google.com> | 2020-04-16 18:08:12 +0000 |
| commit | 75c81ce593d1e9ec2c282e1c497cb5dafa17adca (patch) | |
| tree | d9de4ebbc16b16e5a8c26eec6f5ff4d4e9541343 /internal/postgres/insert_module.go | |
| parent | 4ef67a5e1fa689979a62e43938f89e89a54a2a52 (diff) | |
| download | go-x-pkgsite-75c81ce593d1e9ec2c282e1c497cb5dafa17adca.tar.xz | |
internal/fetch: rename FetchVersion to FetchModule
Change-Id: Ic1ff97a19199940f8d6b28c3f23d368fff2dbbbc
Reviewed-on: https://team-review.git.corp.google.com/c/golang/discovery/+/717235
Reviewed-by: Jonathan Amsterdam <jba@google.com>
Diffstat (limited to 'internal/postgres/insert_module.go')
| -rw-r--r-- | internal/postgres/insert_module.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/postgres/insert_module.go b/internal/postgres/insert_module.go index 3dae2cc1..094c106e 100644 --- a/internal/postgres/insert_module.go +++ b/internal/postgres/insert_module.go @@ -56,7 +56,7 @@ func (db *DB) InsertModule(ctx context.Context, m *internal.Module) (err error) // file that establishes that path as canonical. But v1.0.6 does not have a // go.mod file. So the miscapitalized path github.com/Sirupsen/logrus at // v1.1.0 is marked as an alternative path (code 491) by - // internal/fetch.FetchVersion and is not inserted into the DB, but at + // internal/fetch.FetchModule and is not inserted into the DB, but at // v1.0.6 it is considered valid, and we end up here. We still insert // github.com/Sirupsen/logrus@v1.0.6 in the versions table and friends so // that users who import it can find information about it, but we don't want |
