diff --git a/.deepsource.toml b/.deepsource.toml index 2c31f12..e9d84b4 100644 --- a/.deepsource.toml +++ b/.deepsource.toml @@ -1,9 +1,13 @@ version = 1 +test_patterns = [ + "*_test.go" +] + [[analyzers]] name = "go" enabled = true [analyzers.meta] import_root = "github.com/plexsysio/go-msuite" - dependencies_vendored = false \ No newline at end of file + dependencies_vendored = false diff --git a/modules/auth/aclManager.go b/modules/auth/aclManager.go index f2d4be0..12b25f2 100644 --- a/modules/auth/aclManager.go +++ b/modules/auth/aclManager.go @@ -63,7 +63,7 @@ func (m *Acl) GetID() string { return m.Key } -func (m *Acl) GetNamespace() string { +func (*Acl) GetNamespace() string { return "Acl" } diff --git a/modules/node/node.go b/modules/node/node.go index ca570f8..2b0e49f 100644 --- a/modules/node/node.go +++ b/modules/node/node.go @@ -39,7 +39,7 @@ type FxLog struct{} var log = logger.Logger("node") -func (f *FxLog) Printf(msg string, args ...interface{}) { +func (*FxLog) Printf(msg string, args ...interface{}) { log.Infof(msg, args...) }