netdata/netdata

View on GitHub
src/go/collectors/go.d.plugin/pkg/web/duration.go

Summary

Maintainability
A
35 mins
Test Coverage

Method Duration.UnmarshalYAML has 5 return statements (exceeds 4 allowed).
Open

func (d *Duration) UnmarshalYAML(unmarshal func(interface{}) error) error {
    var s string

    if err := unmarshal(&s); err != nil {
        return err
Severity: Major
Found in src/go/collectors/go.d.plugin/pkg/web/duration.go - About 35 mins to fix

    There are no issues that match your filters.

    Category
    Status