Commit d8cc4f9a authored by Mike Kozono's avatar Mike Kozono

Include VerificationState once for registries

I have no idea why I had trouble with this earlier:
https://gitlab.com/gitlab-org/gitlab/-/issues/298811
parent 4d93cf99
......@@ -319,10 +319,7 @@ For example, to add support for files referenced by a `Widget` model with a
# frozen_string_literal: true
class Geo::WidgetRegistry < Geo::BaseRegistry
include Geo::ReplicableRegistry
# TODO: Include VerificationState in VerifiableRegistry
# https://gitlab.com/gitlab-org/gitlab/-/issues/298811
include ::Gitlab::Geo::VerificationState
include ::Geo::ReplicableRegistry
include ::Geo::VerifiableRegistry
MODEL_CLASS = ::Widget
......
......@@ -3,6 +3,7 @@
module Geo
module VerifiableRegistry
extend ActiveSupport::Concern
include ::Gitlab::Geo::VerificationState
class_methods do
extend ::Gitlab::Utils::Override
......
......@@ -2,7 +2,6 @@
class Geo::PackageFileRegistry < Geo::BaseRegistry
include ::Geo::ReplicableRegistry
include ::Gitlab::Geo::VerificationState
include ::Geo::VerifiableRegistry
MODEL_CLASS = ::Packages::PackageFile
......
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