gofmt fix

This commit is contained in:
Alex Goodman 2019-03-16 12:05:40 -04:00
parent 58f64045e4
commit 8fcc9f67d8
No known key found for this signature in database
GPG Key ID: 743640FAA11698A1

View File

@ -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