Commit 00b6311f authored by Stan Hu's avatar Stan Hu

Merge branch...

Merge branch '33758-nomethoderror-undefined-method-log_geo_deleted_event-in-objectstorage-backgroundmoveworker-job' into 'master'

Fix undefined method log_geo_deleted_event for MergeRequestDiff

Closes #33758

See merge request gitlab-org/gitlab!18405
parents 3beeb7b6 d952d5e7
......@@ -591,3 +591,5 @@ class MergeRequestDiff < ApplicationRecord
end
end
end
MergeRequestDiff.prepend_if_ee('EE::MergeRequestDiff')
# frozen_string_literal: true
module EE
module MergeRequestDiff
def log_geo_deleted_event
# Keep empty for now. Should be addressed in future
# by https://gitlab.com/gitlab-org/gitlab/issues/33817
end
end
end
---
title: Fix undefined method log_geo_deleted_event for MergeRequestDiff
merge_request: 18405
author:
type: fixed
# frozen_string_literal: true
require 'spec_helper'
describe MergeRequestDiff do
it { is_expected.to respond_to(:log_geo_deleted_event) }
end
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment