Adds changelog entry, changes RemoteMirror#sync? to be semantically sound and remove reference to pull mirrors in view
This commit is contained in:
parent
961255b107
commit
d12a299117
|
@ -87,11 +87,11 @@ class RemoteMirror < ActiveRecord::Base
|
|||
end
|
||||
|
||||
def sync?
|
||||
!enabled?
|
||||
enabled?
|
||||
end
|
||||
|
||||
def sync
|
||||
return if sync?
|
||||
return unless sync?
|
||||
|
||||
if recently_scheduled?
|
||||
RepositoryUpdateRemoteMirrorWorker.perform_in(backoff_delay, self.id, Time.now)
|
||||
|
|
|
@ -321,6 +321,6 @@
|
|||
%button.btn.js-settings-toggle{ type: 'button' }
|
||||
= expanded ? 'Collapse' : 'Expand'
|
||||
%p
|
||||
= _('Configure push and pull mirrors.')
|
||||
= _('Configure push mirrors.')
|
||||
.settings-content
|
||||
= render partial: 'repository_mirrors_form'
|
||||
|
|
|
@ -0,0 +1,5 @@
|
|||
---
|
||||
title: Adds push mirrors to GitLab Community Edition
|
||||
merge_request: 18715
|
||||
author:
|
||||
type: changed
|
Loading…
Reference in New Issue