Skip to content

Commit

Permalink
Fix log message when falling back to amd64 binaries on darwin
Browse files Browse the repository at this point in the history
Signed-off-by: Carolyn Van Slyck <[email protected]>
  • Loading branch information
carolynvs committed Apr 7, 2022
1 parent 8f690f4 commit b7e76e8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/pkgmgmt/feed/feed.go
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ func (f *MixinFileset) FindDownloadURL(ctx context.Context, os string, arch stri

// Until we have full support for M1 chipsets, rely on rossetta functionality in macos and use the amd64 binary
if os == "darwin" && arch == "arm64" {
log.Debugf("%s @ %s did not publish a download for darwin/amd64, falling back to darwin/amd64", f.Mixin, f.Version)
log.Debugf("%s @ %s did not publish a download for darwin/arm64, falling back to darwin/amd64", f.Mixin, f.Version)
return f.FindDownloadURL(ctx, "darwin", "amd64")
}

Expand Down

0 comments on commit b7e76e8

Please sign in to comment.