Created
June 5, 2020 09:39
-
-
Save magodo/29422178ca14b7e6713e1c43c959dc5c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/authentication/builder.go b/authentication/builder.go | |
index 9b5c1a1..c40baac 100644 | |
--- a/authentication/builder.go | |
+++ b/authentication/builder.go | |
@@ -69,14 +69,14 @@ func (b Builder) Build() (*Config, error) { | |
for _, method := range supportedAuthenticationMethods { | |
name := method.name() | |
- log.Printf("Testing if %s is applicable for Authentication..", name) | |
+ log.Printf("[DEBUG] Testing if %s is applicable for Authentication..", name) | |
// does not support it via validate? | |
if !method.isApplicable(b) { | |
continue | |
} | |
- log.Printf("Using %s for Authentication", name) | |
+ log.Printf("[DEBUG] Using %s for Authentication", name) | |
auth, err := method.build(b) | |
if err != nil { | |
return nil, err | |
@@ -100,7 +100,7 @@ func (b Builder) Build() (*Config, error) { | |
if err != nil { | |
return "", err | |
} | |
- log.Printf("authenticated object ID cache miss, populting with: %q", authenticatedObjectCache) | |
+ log.Printf("[DEBUG] authenticated object ID cache miss, populting with: %q", authenticatedObjectCache) | |
} | |
return authenticatedObjectCache, nil |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment