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
9bcf3707
Commit
9bcf3707
authored
Mar 25, 2021
by
Nick Nguyen
Committed by
Michael Kozono
Mar 25, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove unused GeoGitAccess method
parent
726c581a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
21 deletions
+0
-21
ee/lib/ee/gitlab/geo_git_access.rb
ee/lib/ee/gitlab/geo_git_access.rb
+0
-21
No files found.
ee/lib/ee/gitlab/geo_git_access.rb
View file @
9bcf3707
...
...
@@ -8,8 +8,6 @@ module EE
include
GrapePathHelpers
::
NamedRouteMatcher
extend
::
Gitlab
::
Utils
::
Override
GEO_SERVER_DOCS_URL
=
'https://docs.gitlab.com/ee/administration/geo/replication/using_a_geo_server.html'
private
def
geo_custom_action
...
...
@@ -48,25 +46,6 @@ module EE
messages
+
[
''
,
lag_message
]
end
def
push_to_read_only_message
message
=
super
if
::
Gitlab
::
Geo
.
secondary_with_primary?
message
=
"
#{
message
}
\n
Please use the primary node URL instead:
#{
geo_primary_url_to_repo
}
.
\n
For more information:
#{
GEO_SERVER_DOCS_URL
}
"
end
message
end
def
geo_primary_url_to_repo
case
protocol
when
'ssh'
geo_primary_ssh_url_to_repo
(
container
)
else
geo_primary_http_url_to_repo
(
container
)
end
end
def
primary_http_repo_url
geo_primary_http_url_to_repo
(
container
)
end
...
...
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