dotcloud/docker

View on GitHub
pkg/parsers/kernel/kernel.go

Summary

Maintainability
A
45 mins
Test Coverage

Function CompareKernelVersion has 7 return statements (exceeds 4 allowed).
Open

func CompareKernelVersion(a, b VersionInfo) int {
    if a.Kernel < b.Kernel {
        return -1
    } else if a.Kernel > b.Kernel {
        return 1
Severity: Major
Found in pkg/parsers/kernel/kernel.go - About 45 mins to fix

    There are no issues that match your filters.

    Category
    Status