dotcloud/docker

View on GitHub
image/v1/imagev1.go

Summary

Maintainability
A
35 mins
Test Coverage

Function MakeConfigFromV1Config has 5 return statements (exceeds 4 allowed).
Open

func MakeConfigFromV1Config(imageJSON []byte, rootfs *image.RootFS, history []image.History) ([]byte, error) {
    var dver struct {
        DockerVersion string `json:"docker_version"`
    }

Severity: Major
Found in image/v1/imagev1.go - About 35 mins to fix

    There are no issues that match your filters.

    Category
    Status