Showing 1 of 1 total issue
Method Client.GetValueFromEnvOrSecretManager
has 6 return statements (exceeds 4 allowed). Open
Open
func (c *Client) GetValueFromEnvOrSecretManager(key string, required bool) (string, error) {
if os.Getenv(key) != "" {
return strings.TrimSpace(os.Getenv(key)), nil
}