internal/providers/conjur/provider.go
Function ProviderFactory
has 8 return statements (exceeds 7 allowed). Open
Open
func ProviderFactory(options plugin_v1.ProviderOptions) (plugin_v1.Provider, error) {
config, err := conjurapi.LoadConfig()
if err != nil {
return nil, fmt.Errorf("ERROR: Conjur provider could not load configuration: %s", err)
}
TODO found Open
Open
// TODO: Use a cached access token from the client, once it's exposed
- Exclude checks
Your code does not pass gofmt in 2 places. Go fmt your code! Open
Open
package conjur
- Exclude checks