diff options
| author | Julie Qiu <julie@golang.org> | 2021-05-03 13:29:02 -0400 |
|---|---|---|
| committer | Julie Qiu <julie@golang.org> | 2021-05-04 15:55:03 +0000 |
| commit | 66d09ef2b8fad2fb7d6324b796fc8a96c0ab2cf8 (patch) | |
| tree | 81cfb811d1acb047d9764a4cbec07c25fcde9041 /internal/postgres/unit.go | |
| parent | 701537b65ccac2b1a1564a60b7df71a3efda7184 (diff) | |
| download | go-x-pkgsite-66d09ef2b8fad2fb7d6324b796fc8a96c0ab2cf8.tar.xz | |
internal: prefix GetSymbolHistory functions with Legacy
The GetSymbolHistory will be rewritten in future CLs to handle cases
where symbol names at different build contexts have different SymbolMeta.
As a first step, the current functions are prefixed with Legacy.
For golang/go#37102
Change-Id: I1553a793784526c4905a4aaa354f320c985a3d02
Reviewed-on: https://go-review.googlesource.com/c/pkgsite/+/316370
Trust: Julie Qiu <julie@golang.org>
Run-TryBot: Julie Qiu <julie@golang.org>
TryBot-Result: kokoro <noreply+kokoro@google.com>
Reviewed-by: Jonathan Amsterdam <jba@google.com>
Diffstat (limited to 'internal/postgres/unit.go')
| -rw-r--r-- | internal/postgres/unit.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/postgres/unit.go b/internal/postgres/unit.go index 312f80f4..5318df9e 100644 --- a/internal/postgres/unit.go +++ b/internal/postgres/unit.go @@ -523,7 +523,7 @@ func (db *DB) getUnitWithAllFields(ctx context.Context, um *internal.UnitMeta, b return &u, nil } - versionToNameToUnitSymbol, err := GetSymbolHistoryWithPackageSymbols(ctx, db.db, um.Path, + versionToNameToUnitSymbol, err := LegacyGetSymbolHistoryWithPackageSymbols(ctx, db.db, um.Path, um.ModulePath) if err != nil { return nil, err |
