dotcloud/docker

View on GitHub
distribution/repository.go

Summary

Maintainability
A
35 mins
Test Coverage

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

func GetRepositories(ctx context.Context, ref reference.Named, config *ImagePullConfig) ([]distribution.Repository, error) {
    repoInfo, err := config.RegistryService.ResolveRepository(ref)
    if err != nil {
        return nil, errdefs.InvalidParameter(err)
    }
Severity: Major
Found in distribution/repository.go - About 35 mins to fix

    There are no issues that match your filters.

    Category
    Status