brokeyourbike/cloudflare-api-client-go

View on GitHub

Showing 1 of 1 total issue

Method client.ListZeroTrustUsers has 6 return statements (exceeds 4 allowed).
Open

func (c *client) ListZeroTrustUsers(ctx context.Context) ([]ZeroTrustUser, error) {
    r, err := c.fetchZeroTrustUsers(ctx, c.accountID, 1)
    if err != nil {
        return []ZeroTrustUser{}, fmt.Errorf("cannot fetch users: %w", err)
    }
Severity: Major
Found in client.go - About 40 mins to fix
    Severity
    Category
    Status
    Source
    Language