daemon/images/image_windows.go
Method ImageService.GetLayerFolders
has 5 return statements (exceeds 4 allowed). Open
Open
func (i *ImageService) GetLayerFolders(img *image.Image, rwLayer layer.RWLayer, containerID string) ([]string, error) {
folders := []string{}
rd := len(img.RootFS.DiffIDs)
for index := 1; index <= rd; index++ {
// FIXME: why does this mutate the RootFS?