commit | 59648e34aadeb706c449588e0f953edb4f9d27ce | [log] [tgz] |
---|---|---|
author | Hana (Hyang-Ah) Kim <hyangah@gmail.com> | Sat Sep 10 15:03:17 2022 -0400 |
committer | Hyang-Ah Hana Kim <hyangah@gmail.com> | Mon Sep 12 19:10:04 2022 +0000 |
tree | ffe5a557300ad5eddb2c61b55504339ff524ed38 | |
parent | dea4a6d3a694042134a3c66837bc1793d9cb2294 [diff] |
client: fix GetByID to return (nil, nil) for no matching entry GetByID should return (nil, nil) if there is no entry with the given id instead of returning JSON decoding error. Updates golang/go#54981 (x/pkgsite has to update its dependency to pick up the fix after this cl) Change-Id: Idc4bc30b8fe747bd539af97a72e04b7e71e30005 Reviewed-on: https://go-review.googlesource.com/c/vuln/+/430115 Run-TryBot: Hyang-Ah Hana Kim <hyangah@gmail.com> Reviewed-by: Jamal Carvalho <jamal@golang.org> TryBot-Result: Gopher Robot <gobot@golang.org> Reviewed-by: Zvonimir Pavlinovic <zpavlinovic@google.com>
This repository contains packages for accessing and analyzing data from the Go Vulnerability Database. It contains the following:
Check out https://go.dev/security/vuln for more information about the Go vulnerability management system.
The privacy policy for govulncheck
can be found at https://vuln.go.dev/privacy.
Unless otherwise noted, the Go source files are distributed under the BSD-style license found in the LICENSE file.
Database entries available at https://vuln.go.dev are distributed under the terms of the CC-BY 4.0 license.