dotcloud/docker

View on GitHub
daemon/images/image_pull.go

Summary

Maintainability
A
1 hr
Test Coverage

Method ImageService.PullImage has 6 arguments (exceeds 4 allowed). Consider refactoring.
Open

func (i *ImageService) PullImage(ctx context.Context, ref reference.Named, platform *ocispec.Platform, metaHeaders map[string][]string, authConfig *registry.AuthConfig, outStream io.Writer) error {
Severity: Minor
Found in daemon/images/image_pull.go - About 45 mins to fix

    Method ImageService.pullImageWithReference has 6 arguments (exceeds 4 allowed). Consider refactoring.
    Open

    func (i *ImageService) pullImageWithReference(ctx context.Context, ref reference.Named, platform *ocispec.Platform, metaHeaders map[string][]string, authConfig *registry.AuthConfig, outStream io.Writer) error {
    Severity: Minor
    Found in daemon/images/image_pull.go - About 45 mins to fix

      There are no issues that match your filters.

      Category
      Status