InVisionApp/go-health

View on GitHub
checkers/disk/disk_usage.go

Summary

Maintainability
A
0 mins
Test Coverage

Function validateDiskUsageConfig has 5 return statements (exceeds 4 allowed).
Wontfix

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

Severity: Major
Found in checkers/disk/disk_usage.go - About 35 mins to fix

    There are no issues that match your filters.

    Category
    Status