*: fix lint issues

Signed-off-by: Antonio Murdaca <runcom@redhat.com>
This commit is contained in:
Antonio Murdaca 2017-08-22 12:35:19 +02:00
parent d56bf090ce
commit 8088d7a1e2
No known key found for this signature in database
GPG key ID: B2BEAD150DE936B9
10 changed files with 43 additions and 41 deletions

View file

@ -122,19 +122,13 @@ func matchesLabel(info *types.ImageInspectInfo, store storage.Store, label strin
// Returns true if the image was created since the filter image. Returns
// false otherwise
func matchesBeforeImage(info *types.ImageInspectInfo, name string, params *FilterParams) bool {
if info.Created.Before(params.beforeImage) {
return true
}
return false
return info.Created.Before(params.beforeImage)
}
// Returns true if the image was created since the filter image. Returns
// false otherwise
func matchesSinceImage(info *types.ImageInspectInfo, name string, params *FilterParams) bool {
if info.Created.After(params.sinceImage) {
return true
}
return false
return info.Created.After(params.sinceImage)
}
// MatchesID returns true if argID is a full or partial match for id