soumya92/barista

View on GitHub
base/watchers/localtz/localtz.go

Summary

Maintainability
A
35 mins
Test Coverage
A
93%

Function updateTz has 5 return statements (exceeds 4 allowed).
Open

func updateTz(tzFile string) error {
    if atomic.LoadUint32(&testMode) > 0 {
        return errTestMode
    }
    link, err := os.Readlink(tzFile)
Severity: Major
Found in base/watchers/localtz/localtz.go - About 35 mins to fix

    There are no issues that match your filters.

    Category
    Status