dotcloud/docker

View on GitHub
daemon/images/image_inspect.go

Summary

Maintainability
A
1 hr
Test Coverage

Method ImageService.ImageInspect has 62 lines of code (exceeds 50 allowed). Consider refactoring.
Open

func (i *ImageService) ImageInspect(ctx context.Context, refOrID string, _ backend.ImageInspectOpts) (*imagetypes.InspectResponse, error) {
    img, err := i.GetImage(ctx, refOrID, backend.GetImageOpts{})
    if err != nil {
        return nil, err
    }
Severity: Minor
Found in daemon/images/image_inspect.go - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status