Skip to content

Commit

Permalink
fix: do not read Talos versions from the image registry ever
Browse files Browse the repository at this point in the history
It was reading from the image registry if the pre-release versions are
enabled, but that doesn't work as factory won't generate the images for
versions which are not in the list.

Signed-off-by: Artem Chernyshev <[email protected]>
  • Loading branch information
Unix4ever committed Oct 22, 2024
1 parent b3dc48a commit 4b4088d
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions internal/backend/runtime/omni/controllers/omni/versions.go
Original file line number Diff line number Diff line change
Expand Up @@ -126,10 +126,6 @@ func (ctrl *VersionsController) fetchVersionsFromRegistry(ctx context.Context, s
}

func (ctrl *VersionsController) fetchTalosVersions(ctx context.Context, factoryURL string) ([]string, error) {
if config.Config.EnableTalosPreReleaseVersions {
return ctrl.fetchVersionsFromRegistry(ctx, config.Config.TalosRegistry)
}

client, err := client.New(factoryURL)
if err != nil {
return nil, err
Expand Down

0 comments on commit 4b4088d

Please sign in to comment.