cloudfoundry-incubator/eirini

View on GitHub
stager/docker/fetcher.go

Summary

Maintainability
A
35 mins
Test Coverage
F
0%

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

func Fetch(dockerRef string, sysCtx types.SystemContext) (*v1.ImageConfig, error) {
    ref, err := docker.ParseReference(dockerRef)
    if err != nil {
        return nil, errors.Wrap(err, "failed to parse docker reference")
    }
Severity: Major
Found in stager/docker/fetcher.go - About 35 mins to fix

    There are no issues that match your filters.

    Category
    Status