diff --git a/src/ferryd/core/api.go b/src/ferryd/core/api.go index 0c0ce72..8c2bbfb 100644 --- a/src/ferryd/core/api.go +++ b/src/ferryd/core/api.go @@ -122,7 +122,7 @@ func (m *Manager) CopySource(repoID, target, sourceID string, release int) error return err } - return m.Index(repoID) + return m.Index(target) } // TrimObsolete will ask the repo to remove obsolete packages