diff options
Diffstat (limited to 'internal/sync/branch_sync.go')
| -rw-r--r-- | internal/sync/branch_sync.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/sync/branch_sync.go b/internal/sync/branch_sync.go index a053e78..601d8b0 100644 --- a/internal/sync/branch_sync.go +++ b/internal/sync/branch_sync.go @@ -57,7 +57,7 @@ func (s *Syncer) handlePushError(remoteName string, org *config.Organization, er // pushToAllRemotes pushes the branch to all configured remotes func (s *Syncer) pushToAllRemotes(repoPath, branch string, remotes map[string]*config.Organization, remotesWithBranch map[string]bool) error { for remoteName, org := range remotes { - if org.BackupLocation && !s.backupActive() { + if org.BackupLocation && !s.backupActive(remoteName) { continue } |
