-
Notifications
You must be signed in to change notification settings - Fork 265
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: filter images by image-list annotation #651
base: master
Are you sure you want to change the base?
Conversation
45549e3
to
02a5542
Compare
Signed-off-by: Cyril MARIN <[email protected]>
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #651 +/- ##
==========================================
+ Coverage 66.27% 66.35% +0.07%
==========================================
Files 22 22
Lines 2150 2155 +5
==========================================
+ Hits 1425 1430 +5
Misses 591 591
Partials 134 134 ☔ View full report in Codecov by Sentry. |
} | ||
return false | ||
} | ||
|
||
// GetImagesFromApplication returns the list of known images for the given application | ||
func GetImagesFromApplication(app *v1alpha1.Application) image.ContainerImageList { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I am not really like such approach, because you change total sense of this function. I think it would be better to add validation here. Either you need rename function and change comment
Try to fix #650
@jannfis