-
Notifications
You must be signed in to change notification settings - Fork 19
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
Error handling, restored commented-out code #192
Conversation
Signed-off-by: Amir Malka <[email protected]>
PR Analysis
PR Feedback
How to useInstructions
|
Summary:
|
* update watcher Signed-off-by: Daniel Grunberger <[email protected]> * fix: reconcile dependencies to latest Storage Signed-off-by: Vlad Klokun <[email protected]> * fix tests Signed-off-by: Daniel Grunberger <[email protected]> * rename test var Signed-off-by: Daniel Grunberger <[email protected]> * update go version Signed-off-by: Daniel Grunberger <[email protected]> * error handling, restored commented-out code (#192) Signed-off-by: Amir Malka <[email protected]> * Create scorecard.yml (#177) * Create scorecard.yml Signed-off-by: David Wertenteil <[email protected]> * Update README.md Signed-off-by: David Wertenteil <[email protected]> --------- Signed-off-by: David Wertenteil <[email protected]> * comment delete (#193) Signed-off-by: Amir Malka <[email protected]> * bump version Signed-off-by: David Wertenteil <[email protected]> * update readme Signed-off-by: Daniel Grunberger <[email protected]> * adding makefile Signed-off-by: David Wertenteil <[email protected]> * bump k8s-interface pkg Signed-off-by: David Wertenteil <[email protected]> * fixed tests Signed-off-by: David Wertenteil <[email protected]> * bump to version 155 (#198) * bump to version 155 Signed-off-by: David Wertenteil <[email protected]> * fix hash Signed-off-by: David Wertenteil <[email protected]> --------- Signed-off-by: David Wertenteil <[email protected]> * update watcher Signed-off-by: Daniel Grunberger <[email protected]> * fix: reconcile dependencies to latest Storage Signed-off-by: Vlad Klokun <[email protected]> * fix tests Signed-off-by: Daniel Grunberger <[email protected]> * rename test var Signed-off-by: Daniel Grunberger <[email protected]> * update go version Signed-off-by: Daniel Grunberger <[email protected]> * adding makefile Signed-off-by: David Wertenteil <[email protected]> * update watcher Signed-off-by: Daniel Grunberger <[email protected]> * fixed test Signed-off-by: David Wertenteil <[email protected]> --------- Signed-off-by: Daniel Grunberger <[email protected]> Signed-off-by: Vlad Klokun <[email protected]> Signed-off-by: Amir Malka <[email protected]> Signed-off-by: David Wertenteil <[email protected]> Co-authored-by: Daniel Grunberger <[email protected]> Co-authored-by: Vlad Klokun <[email protected]> Co-authored-by: Amir Malka <[email protected]> Co-authored-by: David Wertenteil <[email protected]>
type:
bug_fix
description:
This PR includes several changes aimed at improving error handling in the codebase. It also restores some previously commented-out code. The main changes are:
deleteCRDs
andtriggerScanFor
functions inhandlers.go
.Handle
function inservice.go
.watcher.go
.imageregistryhandlerhelper.go
to better reflect the severity of the situation.service_test.go
forcreateUnstructuredPod
function.main_files_walkthrough:
files:
continuousscanning/handlers.go
: Added error handling for thedeleteCRDs
andtriggerScanFor
functions.continuousscanning/service.go
: Added error handling for theHandle
function.watcher/watcher.go
: Restored previously commented-out error handling code.mainhandler/imageregistryhandlerhelper.go
: Changed log level from Info to Error in several places to better reflect the severity of the situation.continuousscanning/service_test.go
: Ignored error check forcreateUnstructuredPod
function.User Description:
Overview
This PR fixes #
Signed Commits