daemon/images/image_inspect.go
Method ImageService.ImageInspect
has 62 lines of code (exceeds 50 allowed). Consider refactoring. Open
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
}