mirror of
https://github.com/rocky-linux/peridot.git
synced 2024-12-18 17:08:29 +00:00
Add comment ListAdvisoriesRSS (deploy test 3)
This commit is contained in:
parent
c0a82d2408
commit
a603d9b877
@ -87,6 +87,7 @@ func (s *Server) ListAdvisories(_ context.Context, req *apollopb.ListAdvisoriesR
|
|||||||
}, nil
|
}, nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// ListAdvisoriesRSS returns advisories in RSS format. Only returns latest 25 published advisories
|
||||||
func (s *Server) ListAdvisoriesRSS(_ context.Context, req *apollopb.ListAdvisoriesRSSRequest) (*httpbody.HttpBody, error) {
|
func (s *Server) ListAdvisoriesRSS(_ context.Context, req *apollopb.ListAdvisoriesRSSRequest) (*httpbody.HttpBody, error) {
|
||||||
if err := req.ValidateAll(); err != nil {
|
if err := req.ValidateAll(); err != nil {
|
||||||
return nil, err
|
return nil, err
|
||||||
|
Loading…
Reference in New Issue
Block a user