Skip to content

Commit

Permalink
fix(host_cleanup): getting true dangling images
Browse files Browse the repository at this point in the history
  • Loading branch information
alexey-igrychev committed Nov 24, 2021
1 parent a1ebd8a commit 22949ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/host_cleaning/images.go
Expand Up @@ -44,7 +44,7 @@ func trueDanglingImages(ctx context.Context) ([]types.ImageSummary, error) {
var trueDanglingImageList []types.ImageSummary
for _, image := range danglingImageList {
if len(image.RepoTags) == 0 && len(image.RepoDigests) == 0 {
trueDanglingImageList = append(trueDanglingImageList)
trueDanglingImageList = append(trueDanglingImageList, image)
}
}

Expand Down

0 comments on commit 22949ca

Please sign in to comment.