Skip to content

Commit

Permalink
⚠️ Disable seed versioning (#491)
Browse files Browse the repository at this point in the history
The seed versioning capability is not necessary and complicates keeping
the seed and hub repos in sync. If this is needed in the future, the
design should be reevaluated.

Signed-off-by: Sam Lucidi <slucidi@redhat.com>
  • Loading branch information
mansam authored Sep 21, 2023
1 parent f5a04a5 commit 6b75318
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions seed/pkg.go
Original file line number Diff line number Diff line change
Expand Up @@ -40,12 +40,7 @@ func Seed() (err error) {
}
}()

v, err := migrationVersion(db)
if err != nil {
return
}

seeds, checksum, err := libseed.ReadFromDir(settings.Settings.Hub.DB.SeedPath, v)
seeds, checksum, err := libseed.ReadFromDir(settings.Settings.Hub.DB.SeedPath, libseed.AllVersions)
if err != nil {
if errors.Is(err, fs.ErrNotExist) {
log.Info("Seed directory not found.")
Expand Down

0 comments on commit 6b75318

Please sign in to comment.