Commit 8b212901 by Arve Knudsen Committed by GitHub

Chore: Disable gosec on certain line (#29382)

Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
parent 70d68c15
......@@ -178,6 +178,7 @@ func (hs *HTTPServer) getListener() (net.Listener, error) {
}
// Make socket writable by group
// nolint:gosec
if err := os.Chmod(setting.SocketPath, 0660); err != nil {
return nil, errutil.Wrapf(err, "failed to change socket permissions")
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment