daemon/images/image_squash.go
Method ImageService.SquashImage
has 66 lines of code (exceeds 50 allowed). Consider refactoring. Open
Open
func (i *ImageService) SquashImage(id, parent string) (string, error) {
var (
img *image.Image
err error
)
Method ImageService.SquashImage
has 8 return statements (exceeds 4 allowed). Open
Open
func (i *ImageService) SquashImage(id, parent string) (string, error) {
var (
img *image.Image
err error
)