Skip to content

Commit

Permalink
gofmt fix
Browse files Browse the repository at this point in the history
  • Loading branch information
wagoodman committed Mar 16, 2019
1 parent 58f6404 commit 8fcc9f6
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions image/docker_image.go
Original file line number Diff line number Diff line change
Expand Up @@ -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++
}
Expand All @@ -201,7 +201,6 @@ func (image *dockerImageAnalyzer) Analyze() (*AnalysisResult, error) {
tarPathIdx++
}


efficiency, inefficiencies := filetree.Efficiency(image.trees)

var sizeBytes, userSizeBytes uint64
Expand Down

0 comments on commit 8fcc9f6

Please sign in to comment.