diff options
author | Valery Piashchynski <[email protected]> | 2021-03-28 21:24:12 +0300 |
---|---|---|
committer | Valery Piashchynski <[email protected]> | 2021-03-28 21:24:12 +0300 |
commit | b7d84bdf93ce90925f22091dd8df02985dd07a77 (patch) | |
tree | 70dd11bf64f8ac633749c96bd439ea91640ca7bd /utils | |
parent | 90df04b77bf8cf2c590680fbdde09e519e1b4f83 (diff) |
- Fix new linters warnings
Signed-off-by: Valery Piashchynski <[email protected]>
Diffstat (limited to 'utils')
-rwxr-xr-x | utils/network.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/network.go b/utils/network.go index e57854a8..b73363db 100755 --- a/utils/network.go +++ b/utils/network.go @@ -38,7 +38,7 @@ func CreateListener(address string) (net.Listener, error) { if fileExists(dsn[1]) { err := syscall.Unlink(dsn[1]) if err != nil { - return nil, fmt.Errorf("error during the unlink syscall: error %v", err) + return nil, fmt.Errorf("error during the unlink syscall: error %w", err) } } return net.Listen(dsn[0], dsn[1]) |