Skip to content

Commit 1134978

Browse files
cuishuanggopherbot
authored andcommitted
internal/cve5: use a more straightforward return value
Change-Id: Id3bd202903041e36b67acee1457eac1d7c70ee8a Reviewed-on: https://go-review.googlesource.com/c/vulndb/+/653235 LUCI-TryBot-Result: Go LUCI <[email protected]> Auto-Submit: Ian Lance Taylor <[email protected]> Reviewed-by: Ian Lance Taylor <[email protected]> Reviewed-by: Michael Pratt <[email protected]>
1 parent e73f82b commit 1134978

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/cve5/cveclient.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ func (c *Client) createReserveIDsRequest(opts ReserveOptions) (*http.Request, er
150150
return nil, err
151151
}
152152
req.URL.RawQuery = opts.urlParams(c.Org).Encode()
153-
return req, err
153+
return req, nil
154154
}
155155

156156
type rejectReason struct {

0 commit comments

Comments
 (0)