alexkappa/terraform-provider-auth0

View on GitHub
auth0/resource_auth0_action.go

Summary

Maintainability
B
4 hrs
Test Coverage
B
81%

Function newAction has 110 lines of code (exceeds 50 allowed). Consider refactoring.
Open

func newAction() *schema.Resource {
    return &schema.Resource{

        Create: createAction,
        Read:   readAction,
Severity: Major
Found in auth0/resource_auth0_action.go - About 3 hrs to fix

    Function deployAction has 6 return statements (exceeds 4 allowed).
    Open

    func deployAction(d *schema.ResourceData, m interface{}) error {
    
        if d.Get("deploy").(bool) == true {
    
            api := m.(*management.Management)
    Severity: Major
    Found in auth0/resource_auth0_action.go - About 40 mins to fix

      There are no issues that match your filters.

      Category
      Status