diff --git a/controllers/dashboard_controller.go b/controllers/dashboard_controller.go index 48ce16eee..f44e84f50 100644 --- a/controllers/dashboard_controller.go +++ b/controllers/dashboard_controller.go @@ -307,6 +307,9 @@ func (r *GrafanaDashboardReconciler) onDashboardDeleted(ctx context.Context, nam var notFound *dashboards.GetDashboardByUIDNotFound if !errors.As(err, ¬Found) { return err + } else { + // if the dashboard is not found, then we can return directly here + return nil } } dash := resp.GetPayload()