commit | a760c0da0213d880443b54d02c1969df490a4f0c | [log] [tgz] |
---|---|---|
author | Zvonimir Pavlinovic <zpavlinovic@google.com> | Tue Jun 04 17:24:38 2024 +0000 |
committer | Zvonimir Pavlinovic <zpavlinovic@google.com> | Tue Jun 04 18:09:11 2024 +0000 |
tree | 3c92e16fe4f179d4af25f6393f72b57283e70869 | |
parent | c1818f913c7414b2fa57d715bfc3e5ebab949566 [diff] |
internal/worker: resolve panic in govulncheck pipeline A previous refactoring would return a pointer response object instead of a list. We forgot to handle the case where response is nil. This lead to some panics. Change-Id: I8501940b972a683461e030bec0878b3f3a29d966 Reviewed-on: https://go-review.googlesource.com/c/pkgsite-metrics/+/590238 LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Reviewed-by: Maceo Thompson <maceothompson@google.com>
This repository contains code that enables collecting and evaluating metrics for the Go ecosystem.
This repository uses Gerrit for code changes. To learn how to submit changes to this repository, see https://golang.org/doc/contribute.html.
The main issue tracker for the time repository is located at https://github.com/golang/go/issues. Prefix your issue with “x/pkgsite-metrics:” in the subject line, so it is easy to find.