alexkappa/terraform-provider-auth0

View on GitHub
auth0/data_source_auth0_client.go

Summary

Maintainability
A
35 mins
Test Coverage
B
85%

Function readDataClient has 5 return statements (exceeds 4 allowed).
Open

func readDataClient(d *schema.ResourceData, m interface{}) error {
    clientId := auth0.StringValue(String(d, "client_id"))
    if clientId != "" {
        d.SetId(clientId)
        return readClient(d, m)
Severity: Major
Found in auth0/data_source_auth0_client.go - About 35 mins to fix

    There are no issues that match your filters.

    Category
    Status