Skip to content

Commit

Permalink
Return only image (skipping sbom, img, etc)
Browse files Browse the repository at this point in the history
Fixes: kairos-io/kairos#2329

Signed-off-by: Dimitris Karakasilis <dimitris@karakasilis.me>
  • Loading branch information
jimmykarily committed Apr 2, 2024
1 parent 08eefab commit db0a65c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions internal/agent/upgrade.go
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ func allReleases() (versioneer.TagList, error) {
return tagList, err
}

return tagList.OtherAnyVersion().RSorted(), nil
return tagList.OtherAnyVersion().Images().RSorted(), nil
}

func newerReleases() (versioneer.TagList, error) {
Expand All @@ -130,7 +130,7 @@ func newerReleases() (versioneer.TagList, error) {
if err != nil {
return tagList, err
}
return tagList.NewerAnyVersion().RSorted(), nil
return tagList.NewerAnyVersion().Images().RSorted(), nil
}

// generateUpgradeConfForCLIArgs creates a kairos configuration for `--source` and `--recovery`
Expand Down

0 comments on commit db0a65c

Please sign in to comment.