aboutsummaryrefslogtreecommitdiff
path: root/internal/fetchdatasource/fetchdatasource.go
diff options
context:
space:
mode:
authorMichael Matloob <matloob@golang.org>2024-01-17 14:10:26 -0500
committerMichael Matloob <matloob@golang.org>2024-01-23 15:28:52 +0000
commitc7eaeb891e256eea9575c5d1a33c3458161db86f (patch)
treecdde74bda5f4833f600fe1cd36cd5c5ad23b7cac /internal/fetchdatasource/fetchdatasource.go
parent506adfeab1ce4a0423fcfd861f0fb728202831a8 (diff)
downloadgo-x-pkgsite-c7eaeb891e256eea9575c5d1a33c3458161db86f.tar.xz
internal: move UnitMeta.IsRedistributable to Unit
Change-Id: Ia0a18df32d752f20b0400b47860638c7d0910eb7 Reviewed-on: https://go-review.googlesource.com/c/pkgsite/+/556435 Reviewed-by: Jonathan Amsterdam <jba@google.com> kokoro-CI: kokoro <noreply+kokoro@google.com> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Reviewed-by: Robert Findley <rfindley@google.com>
Diffstat (limited to 'internal/fetchdatasource/fetchdatasource.go')
-rw-r--r--internal/fetchdatasource/fetchdatasource.go1
1 files changed, 0 insertions, 1 deletions
diff --git a/internal/fetchdatasource/fetchdatasource.go b/internal/fetchdatasource/fetchdatasource.go
index 88ab1382..f8ae0d25 100644
--- a/internal/fetchdatasource/fetchdatasource.go
+++ b/internal/fetchdatasource/fetchdatasource.go
@@ -227,7 +227,6 @@ func (ds *FetchDataSource) GetUnitMeta(ctx context.Context, path, requestedModul
return nil, derrors.NotFound
}
um.Name = u.Name
- um.IsRedistributable = u.IsRedistributable
return um, nil
}