diff options
| author | Jonathan Amsterdam <jba@google.com> | 2021-08-26 06:36:22 -0400 |
|---|---|---|
| committer | Jonathan Amsterdam <jba@google.com> | 2021-08-26 13:55:16 +0000 |
| commit | f6f5076d4026eb90c4e6603f2b56b86402fc0bfb (patch) | |
| tree | d391fbb14ce7daeab1fdac6b5d009d0ea3b2fd07 /cmd/pkgsite | |
| parent | 0eeccf082fa68b8e061bdd376a923e04d6073d0f (diff) | |
| download | go-x-pkgsite-f6f5076d4026eb90c4e6603f2b56b86402fc0bfb.tar.xz | |
internal/fetchdatasource: handle build contexts properly
GetUnit returns a Unit with its Documentation set to a matching
BuildContext. This is the same behavior as postgres.DB.GetUnit.
For golang/go#47780
Change-Id: I2bc23b7bc5a006e78bec54f6f3229e59ab5a03ef
Reviewed-on: https://go-review.googlesource.com/c/pkgsite/+/345269
Trust: Jonathan Amsterdam <jba@google.com>
Run-TryBot: Jonathan Amsterdam <jba@google.com>
TryBot-Result: kokoro <noreply+kokoro@google.com>
Reviewed-by: Jamal Carvalho <jamal@golang.org>
Reviewed-by: Julie Qiu <julie@golang.org>
Diffstat (limited to 'cmd/pkgsite')
0 files changed, 0 insertions, 0 deletions
