Skip to content

Commit

Permalink
feat: deepsource fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
alok committed Nov 30, 2021
1 parent 88f9a2c commit 6c3d2a6
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
6 changes: 5 additions & 1 deletion .deepsource.toml
Original file line number Diff line number Diff line change
@@ -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
dependencies_vendored = false
2 changes: 1 addition & 1 deletion modules/auth/aclManager.go
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ func (m *Acl) GetID() string {
return m.Key
}

func (m *Acl) GetNamespace() string {
func (*Acl) GetNamespace() string {
return "Acl"
}

Expand Down
2 changes: 1 addition & 1 deletion modules/node/node.go
Original file line number Diff line number Diff line change
Expand Up @@ -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...)
}

Expand Down

0 comments on commit 6c3d2a6

Please sign in to comment.