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
951b55a4
Commit
951b55a4
authored
Jan 22, 2018
by
Douglas Barbosa Alexandre
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove duplicated message on on geo:update_primary_node_url rake task
parent
cb7efc60
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
2 deletions
+0
-2
ee/lib/gitlab/geo/geo_tasks.rb
ee/lib/gitlab/geo/geo_tasks.rb
+0
-2
No files found.
ee/lib/gitlab/geo/geo_tasks.rb
View file @
951b55a4
...
@@ -26,10 +26,8 @@ module Gitlab
...
@@ -26,10 +26,8 @@ module Gitlab
$stdout
.
puts
"Updating primary Geo node with URL
#{
node
.
url
}
..."
$stdout
.
puts
"Updating primary Geo node with URL
#{
node
.
url
}
..."
if
node
.
update
(
url:
GeoNode
.
current_node_url
)
if
node
.
update
(
url:
GeoNode
.
current_node_url
)
puts
"
#{
node
.
url
}
is now the primary Geo node URL"
.
color
(
:green
)
$stdout
.
puts
"
#{
node
.
url
}
is now the primary Geo node URL"
.
color
(
:green
)
$stdout
.
puts
"
#{
node
.
url
}
is now the primary Geo node URL"
.
color
(
:green
)
else
else
puts
"Error saving Geo node:
\n
#{
node
.
errors
.
full_messages
.
join
(
"
\n
"
)
}
"
.
color
(
:red
)
$stdout
.
puts
"Error saving Geo node:
\n
#{
node
.
errors
.
full_messages
.
join
(
"
\n
"
)
}
"
.
color
(
:red
)
$stdout
.
puts
"Error saving Geo node:
\n
#{
node
.
errors
.
full_messages
.
join
(
"
\n
"
)
}
"
.
color
(
:red
)
exit
1
exit
1
end
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