Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
8eb4f441
Commit
8eb4f441
authored
Jul 29, 2020
by
Douglas Barbosa Alexandre
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update GitLab Rails console cheat sheet
parent
6fbd504a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
doc/administration/troubleshooting/gitlab_rails_cheat_sheet.md
...dministration/troubleshooting/gitlab_rails_cheat_sheet.md
+3
-3
No files found.
doc/administration/troubleshooting/gitlab_rails_cheat_sheet.md
View file @
8eb4f441
...
@@ -836,19 +836,19 @@ Geo::JobArtifactRegistry.synced.missing_on_primary.pluck(:artifact_id)
...
@@ -836,19 +836,19 @@ Geo::JobArtifactRegistry.synced.missing_on_primary.pluck(:artifact_id)
#### Get the number of verification failed repositories
#### Get the number of verification failed repositories
```
ruby
```
ruby
Geo
::
ProjectRegistry
Finder
.
new
.
count_verification_failed_repositories
Geo
::
ProjectRegistry
.
verification_failed
(
'repository'
).
count
```
```
#### Find the verification failed repositories
#### Find the verification failed repositories
```
ruby
```
ruby
Geo
::
ProjectRegistry
.
verification_failed
_repos
Geo
::
ProjectRegistry
.
verification_failed
(
'repository'
)
```
```
### Find repositories that failed to sync
### Find repositories that failed to sync
```
ruby
```
ruby
Geo
::
ProjectRegistry
Finder
.
new
.
find_failed_project_registries
(
'repository'
)
Geo
::
ProjectRegistry
.
sync_failed
(
'repository'
)
```
```
### Resync repositories
### Resync repositories
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment