Skip to content
Snippets Groups Projects
Unverified Commit d8cc4f9a authored by Mike Kozono's avatar Mike Kozono
Browse files

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
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -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
Loading
Loading
Loading
Loading
@@ -3,6 +3,7 @@
module Geo
module VerifiableRegistry
extend ActiveSupport::Concern
include ::Gitlab::Geo::VerificationState
 
class_methods do
extend ::Gitlab::Utils::Override
Loading
Loading
Loading
Loading
@@ -2,7 +2,6 @@
 
class Geo::PackageFileRegistry < Geo::BaseRegistry
include ::Geo::ReplicableRegistry
include ::Gitlab::Geo::VerificationState
include ::Geo::VerifiableRegistry
 
MODEL_CLASS = ::Packages::PackageFile
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment