Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

remove print statement "Got registration for user manager" #2059

Merged
merged 1 commit into from
Sep 14, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
}