InVisionApp/go-health

View on GitHub
checkers/mongo/mongo.go

Summary

Maintainability
A
0 mins
Test Coverage

Function validateMongoConfig has 6 return statements (exceeds 4 allowed).
Wontfix

func validateMongoConfig(cfg *MongoConfig) error {
    if cfg == nil {
        return fmt.Errorf("Main config cannot be nil")
    }

Severity: Major
Found in checkers/mongo/mongo.go - About 40 mins to fix

    There are no issues that match your filters.

    Category
    Status