From 8fcc9f67d8deab28234bd3cc7c86337b862d1ae8 Mon Sep 17 00:00:00 2001 From: Alex Goodman Date: Sat, 16 Mar 2019 12:05:40 -0400 Subject: [PATCH] gofmt fix --- image/docker_image.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/image/docker_image.go b/image/docker_image.go index e637ae3b..b6dcc8c0 100644 --- a/image/docker_image.go +++ b/image/docker_image.go @@ -185,7 +185,7 @@ func (image *dockerImageAnalyzer) Analyze() (*AnalysisResult, error) { break } } - if histIdx < len(config.History) && !config.History[histIdx].EmptyLayer { + if histIdx < len(config.History) && !config.History[histIdx].EmptyLayer { historyObj = config.History[histIdx] histIdx++ } @@ -201,7 +201,6 @@ func (image *dockerImageAnalyzer) Analyze() (*AnalysisResult, error) { tarPathIdx++ } - efficiency, inefficiencies := filetree.Efficiency(image.trees) var sizeBytes, userSizeBytes uint64