Skip to content

Commit

Permalink
cmd/upgrade: add fallback arch for 386->i386
Browse files Browse the repository at this point in the history
  • Loading branch information
joshi4 committed Oct 24, 2024
1 parent 58af095 commit 356cd34
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cmd/upgrade.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ var upgradeCmd = &cobra.Command{

assetDownloader := asset.NewAssetDownloader(executablePath, asset.WithLookupArchFallback(map[string]string{
"amd64": "x86_64",
"386": "i386",
}))
upgrader := upgrade.NewUpgrader(owner, repo, executablePath, upgrade.WithAssetDownloader(assetDownloader))

Expand Down

0 comments on commit 356cd34

Please sign in to comment.