Skip to content

Commit

Permalink
remove print statement "Got registration for user manager" (#2059)
Browse files Browse the repository at this point in the history
  • Loading branch information
wkloucek authored Sep 14, 2021
1 parent 3337d51 commit f4e6e60
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
5 changes: 5 additions & 0 deletions changelog/unreleased/fix-user-manager-println.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
Bugfix: Remove "Got registration for user manager" print statements

Removed the "Got registration for user manager" print statements which spams the log output without respecting any log level.

https://github.com/cs3org/reva/pull/2059
3 changes: 0 additions & 3 deletions pkg/user/manager/registry/registry.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,6 @@
package registry

import (
"fmt"

"github.com/cs3org/reva/pkg/user"
)

Expand All @@ -34,6 +32,5 @@ var NewFuncs = map[string]NewFunc{}
// Register registers a new user manager new function.
// Not safe for concurrent use. Safe for use from package init.
func Register(name string, f NewFunc) {
fmt.Printf("Got registration for user manager %s\n", name)
NewFuncs[name] = f
}

0 comments on commit f4e6e60

Please sign in to comment.