docker/swarmkit

View on GitHub
manager/allocator/allocator_test_suite_linux.go

Summary

Maintainability
A
1 hr
Test Coverage

Method testSuite.TestIPAMNotNil has 58 lines of code (exceeds 50 allowed). Consider refactoring.
Open

func (suite *testSuite) TestIPAMNotNil() {
    s := store.NewMemoryStore(nil)
    suite.NotNil(s)
    defer s.Close()

Severity: Minor
Found in manager/allocator/allocator_test_suite_linux.go - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status