Skip to content

Commit

Permalink
Do not fail if imagePuller CRD does not exist
Browse files Browse the repository at this point in the history
  • Loading branch information
sleshchenko committed Mar 4, 2021
1 parent 9f241d0 commit bab5e6c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/deploy/kubernetes_image_puller.go
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ func ReconcileImagePuller(ctx *DeployContext) (reconcile.Result, error) {
} else {
if foundOperatorsAPI && foundPackagesAPI {
removed, err := UninstallImagePullerOperator(ctx)
if err != nil {
if err != nil && !errors.IsNotFound(err) {
logrus.Errorf("Error uninstalling Image Puller: %v", err)
return reconcile.Result{}, err
}
Expand Down

0 comments on commit bab5e6c

Please sign in to comment.