diff --git a/controller/backing_image_controller.go b/controller/backing_image_controller.go index b73ce6a959..091fae0dd2 100644 --- a/controller/backing_image_controller.go +++ b/controller/backing_image_controller.go @@ -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)