error handling improved

Signed-off-by: Mujib Ahasan <ahasanmujib8@gmail.com>
This commit is contained in:
Mujib Ahasan
2026-04-13 20:19:05 +05:30
parent cb08f4cc1c
commit 5b3c2b91f1

View File

@@ -95,7 +95,7 @@ func validateImagePatchInfo(patchInfo *metav1.PatchInfo) error {
// Convert image to canonical format (required by copacetic for patching images)
patchInfoImage, err := cautils.NormalizeImageName(patchInfo.Image)
if err != nil {
return nil
return err
}
// Parse the image full name to get image name and tag