docker/swarmkit

View on GitHub
manager/orchestrator/task.go

Summary

Maintainability
A
35 mins
Test Coverage

Method TasksByTimestamp.Less has 5 return statements (exceeds 4 allowed).
Open

func (t TasksByTimestamp) Less(i, j int) bool {
    iTimestamp := taskTimestamp(t[i])
    jTimestamp := taskTimestamp(t[j])

    if iTimestamp == nil {
Severity: Major
Found in manager/orchestrator/task.go - About 35 mins to fix

    There are no issues that match your filters.

    Category
    Status