cloudfoundry/korifi

View on GitHub
api/authorization/user_client_factory.go

Summary

Maintainability
A
1 hr
Test Coverage
A
90%

Showing 1 of 1 total issue

Identical blocks of code found in 2 locations. Consider refactoring.
Open

switch strings.ToLower(authInfo.Scheme()) {
case BearerScheme:
config.BearerToken = authInfo.Token
 
case CertScheme:
Severity: Major
Found in api/authorization/user_client_factory.go and 1 other location - About 1 hr to fix
api/authorization/user_clientset_factory.go on lines 32..52
Category
Status