diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2022-01-20 09:16:11 +0000 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2022-01-20 09:16:11 +0000 |
commit | edaa33dee2ff2f7ea3fac488d41558eb5f86d68c (patch) | |
tree | 11f143effbfeba52329fb7afbd05e6e2a3790241 /.gitlab/issue_templates/Geo Replicate a new blob type.md | |
parent | d8a5691316400a0f7ec4f83832698f1988eb27c1 (diff) | |
download | gitlab-ce-edaa33dee2ff2f7ea3fac488d41558eb5f86d68c.tar.gz |
Add latest changes from gitlab-org/gitlab@14-7-stable-eev14.7.0-rc42
Diffstat (limited to '.gitlab/issue_templates/Geo Replicate a new blob type.md')
-rw-r--r-- | .gitlab/issue_templates/Geo Replicate a new blob type.md | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/.gitlab/issue_templates/Geo Replicate a new blob type.md b/.gitlab/issue_templates/Geo Replicate a new blob type.md index d2fc7307c88..44b80158e51 100644 --- a/.gitlab/issue_templates/Geo Replicate a new blob type.md +++ b/.gitlab/issue_templates/Geo Replicate a new blob type.md @@ -179,8 +179,8 @@ That's all of the required database changes. #### Step 1. Implement replication and verification - [ ] Add the following lines to the `cool_widget` model to accomplish some important tasks: - - Include `Gitlab::Geo::ReplicableModel` in the `CoolWidget` class, and specify the Replicator class `with_replicator Geo::CoolWidgetReplicator`. - - Include the `::Gitlab::Geo::VerificationState` concern. + - Include `::Geo::ReplicableModel` in the `CoolWidget` class, and specify the Replicator class `with_replicator Geo::CoolWidgetReplicator`. + - Include the `::Geo::VerifiableModel` concern. - Delegate verification related methods to the `cool_widget_state` model. - For verification, override some scopes to use the `cool_widget_states` table instead of the model table. - Implement the `verification_state_object` method to return the object that holds @@ -194,8 +194,8 @@ That's all of the required database changes. class CoolWidget < ApplicationRecord ... - include ::Gitlab::Geo::ReplicableModel - include ::Gitlab::Geo::VerificationState + include ::Geo::ReplicableModel + include ::Geo::VerifiableModel with_replicator Geo::CoolWidgetReplicator |