1
0
Fork 0
mirror of https://github.com/binwiederhier/ntfy.git synced 2024-11-25 20:59:36 +01:00

Fix linting

This commit is contained in:
binwiederhier 2023-02-09 17:21:12 -05:00
parent e6bb5f484c
commit dc77efc31a
2 changed files with 3 additions and 4 deletions

View file

@ -229,6 +229,9 @@ cli-build-results:
check: test fmt-check vet lint staticcheck check: test fmt-check vet lint staticcheck
test: .PHONY test: .PHONY
go test $(shell go list ./... | grep -vE 'ntfy/(test|examples|tools)')
testv: .PHONY
go test -v $(shell go list ./... | grep -vE 'ntfy/(test|examples|tools)') go test -v $(shell go list ./... | grep -vE 'ntfy/(test|examples|tools)')
race: .PHONY race: .PHONY

View file

@ -1431,10 +1431,6 @@ func (s *Server) execManager() {
Info("Server stats") Info("Server stats")
} }
func (s *Server) expireVisitors() {
}
func (s *Server) runSMTPServer() error { func (s *Server) runSMTPServer() error {
s.smtpServerBackend = newMailBackend(s.config, s.handle) s.smtpServerBackend = newMailBackend(s.config, s.handle)
s.smtpServer = smtp.NewServer(s.smtpServerBackend) s.smtpServer = smtp.NewServer(s.smtpServerBackend)