Commit 210d0997 authored by Nick Thomas's avatar Nick Thomas

Merge branch '6324-geo-missing-n-in-rake-geo-status' into 'master'

Resolve "[Geo] Missing "\n" in rake geo:status"

Closes #6324

See merge request gitlab-org/gitlab-ee!6020
parents 729ddb04 5d9d7c49
---
title: 'Geo: Formatting fix for geo:status rake task'
merge_request: 6020
author:
type: fixed
......@@ -266,7 +266,8 @@ namespace :geo do
if cursor_last_event_id
print cursor_last_event_id
last_cursor_event_date = Geo::EventLog.find_by(id: cursor_last_event_id)&.created_at
puts " (#{time_ago_in_words(last_cursor_event_date)} ago)" if last_cursor_event_date
print " (#{time_ago_in_words(last_cursor_event_date)} ago)" if last_cursor_event_date
puts
else
puts 'N/A'
end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment