refactor(config): move syslogconf to config/syslog package (#1865)
This commit is contained in:
@@ -9,13 +9,13 @@ import (
|
||||
|
||||
"golang.org/x/xerrors"
|
||||
|
||||
"github.com/future-architect/vuls/config"
|
||||
syslogConf "github.com/future-architect/vuls/config/syslog"
|
||||
"github.com/future-architect/vuls/models"
|
||||
)
|
||||
|
||||
// SyslogWriter send report to syslog
|
||||
type SyslogWriter struct {
|
||||
Cnf config.SyslogConf
|
||||
Cnf syslogConf.Conf
|
||||
}
|
||||
|
||||
// Write results to syslog
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
//go:build !windows
|
||||
|
||||
package reporter
|
||||
|
||||
import (
|
||||
|
||||
Reference in New Issue
Block a user