dictyBase/arangomanager

View on GitHub
session.go

Summary

Maintainability
A
40 mins
Test Coverage

Method Session.GrantDB has 6 return statements (exceeds 4 allowed).
Open

func (s *Session) GrantDB(database, user, grant string) error {
    ok, err := s.client.UserExists(context.Background(), user)
    if err != nil {
        return fmt.Errorf("error in finding user %s", err)
    }
Severity: Major
Found in session.go - About 40 mins to fix

    There are no issues that match your filters.

    Category
    Status