Skip to content

Commit

Permalink
fix: remove fatal error
Browse files Browse the repository at this point in the history
Signed-off-by: PoAn Yang <poan.yang@suse.com>
  • Loading branch information
FrankYang0529 authored and innobead committed Jun 3, 2024
1 parent 09633d7 commit d887221
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion controller/backing_image_controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ func NewBackingImageController(
UpdateFunc: func(old, cur interface{}) { bic.enqueueBackingImage(cur) },
DeleteFunc: bic.enqueueBackingImage,
}); err != nil {
logrus.WithError(err).Fatal("Failed to register event handler for backing image")
return nil, err
}
bic.cacheSyncs = append(bic.cacheSyncs, ds.BackingImageInformer.HasSynced)

Expand Down

0 comments on commit d887221

Please sign in to comment.