Skip to content

Commit 5dc7b03

Browse files
committed
log is too chatty
1 parent 7f67be8 commit 5dc7b03

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

entitlementConfig.go

-5
Original file line numberDiff line numberDiff line change
@@ -239,11 +239,6 @@ func (config *EntitlementConfig) computeScopes(claims jwt.MapClaims) *Scope {
239239
match, _ := regexp.MatchString(entitlement.regexString(), strMapClaims)
240240
if match {
241241
scope.merge(entitlement.Scopes)
242-
if config.File == "" {
243-
// This is a repo based config
244-
entitlementStr, _ := json.Marshal(config.Entitlements)
245-
log.Printf("Found match with %s\n", entitlementStr)
246-
}
247242
}
248243
}
249244
return scope

0 commit comments

Comments
 (0)