diff options
author | feistel <6742251-feistel@users.noreply.gitlab.com> | 2021-12-14 01:36:26 +0300 |
---|---|---|
committer | feistel <6742251-feistel@users.noreply.gitlab.com> | 2022-01-24 15:24:39 +0300 |
commit | 933c033f153891f5e338b8463b3b8f3c91d8885e (patch) | |
tree | ef7c6e74878a87df4449de897aa1fe1c845a51af /server.go | |
parent | c27b7ef86e28c9e97c5c655a958bdb733aca01eb (diff) |
lint: fix errorlint issues
Diffstat (limited to 'server.go')
-rw-r--r-- | server.go | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -60,7 +60,7 @@ func (a *theApp) listenAndServe(server *http.Server, fd uintptr, h http.Handler, l, err := net.FileListener(os.NewFile(fd, "[socket]")) if err != nil { - return fmt.Errorf("failed to listen on FD %d: %v", fd, err) + return fmt.Errorf("failed to listen on FD %d: %w", fd, err) } if config.limiter != nil { |