Skip to content

Commit

Permalink
updater: imp docs
Browse files Browse the repository at this point in the history
  • Loading branch information
ainar-g committed Feb 27, 2023
1 parent c348276 commit ad4654f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions internal/updater/check.go
Original file line number Diff line number Diff line change
Expand Up @@ -108,8 +108,8 @@ func (u *Updater) parseVersionResponse(data []byte) (VersionInfo, error) {
}

// downloadURL returns the download URL for current build as well as its key in
// versionObj. If the key is not found, it additionally publishes a log
// message.
// versionObj. If the key is not found, it additionally prints an informative
// log message.
func (u *Updater) downloadURL(versionObj map[string]string) (dlURL, key string, ok bool) {
if u.goarch == "arm" && u.goarm != "" {
key = fmt.Sprintf("download_%s_%sv%s", u.goos, u.goarch, u.goarm)
Expand Down

0 comments on commit ad4654f

Please sign in to comment.