dotcloud/docker

View on GitHub
opts/runtime.go

Summary

Maintainability
A
35 mins
Test Coverage

Method RuntimeOpt.Set has 5 return statements (exceeds 4 allowed).
Open

func (o *RuntimeOpt) Set(val string) error {
    k, v, ok := strings.Cut(val, "=")
    if !ok {
        return fmt.Errorf("invalid runtime argument: %s", val)
    }
Severity: Major
Found in opts/runtime.go - About 35 mins to fix

    There are no issues that match your filters.

    Category
    Status