mirror of
https://github.com/aptly-dev/aptly.git
synced 2026-10-14 09:57:16 +00:00
Switch to gometalinter
Only small amount of required checks is enabled, plan is to enable more linters as issues are fixed in the code.
This commit is contained in:
1 parent
53e59d3765
commit
516dd7b044
80 files changed
+201
-123
No files matched your search
@@ -26,6 +26,7 @@ const (
|
||||
listenFdsStart = 3
|
||||
)
|
||||
|
||||
// Files returns all the fds passed from systemd
|
||||
func Files(unsetEnv bool) []*os.File {
|
||||
if unsetEnv {
|
||||
defer os.Unsetenv("LISTEN_PID")
|
||||
|
||||
Reference in new issue
Block a user