dotcloud/docker

View on GitHub
layer/ro_layer.go

Summary

Maintainability
A
40 mins
Test Coverage

Function storeLayer has 6 return statements (exceeds 4 allowed).
Open

func storeLayer(tx *fileMetadataTransaction, layer *roLayer) error {
    if err := tx.SetDiffID(layer.diffID); err != nil {
        return err
    }
    if err := tx.SetSize(layer.size); err != nil {
Severity: Major
Found in layer/ro_layer.go - About 40 mins to fix

    There are no issues that match your filters.

    Category
    Status