Style: lints for tools (#15637)

Co-authored-by: Marko <marko@baricevic.me>
This commit is contained in:
Jacob Gadikian
2023-03-31 08:15:27 +00:00
committed by GitHub
co-authored by Marko
parent 8c182e7d77
commit 528ce31eeb
2 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -45,7 +45,7 @@ type Server struct {
func (h Server) Start() error {
h.logger.Info(fmt.Sprintf("Rosetta server listening on add %s", h.addr))
return http.ListenAndServe(h.addr, h.h) //nolint:gosec
return http.ListenAndServe(h.addr, h.h) //nolint:gosec // users are recommended to operate a proxy in front of this server
}
func NewServer(settings Settings) (Server, error) {