dotcloud/docker

View on GitHub
quota/testhelpers.go

Summary

Maintainability
A
45 mins
Test Coverage

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

func PrepareQuotaTestImage(t *testing.T) (string, error) {
    // imageSize is the size of the test-image. The minimum size allowed
    // is 300MB.
    //
    // See https://git.kernel.org/pub/scm/fs/xfs/xfsprogs-dev.git/commit/?id=6e0ed3d19c54603f0f7d628ea04b550151d8a262
Severity: Major
Found in quota/testhelpers.go - About 45 mins to fix

    There are no issues that match your filters.

    Category
    Status