Skip to content
This repository has been archived by the owner on Jan 8, 2024. It is now read-only.

Commit

Permalink
typo
Browse files Browse the repository at this point in the history
  • Loading branch information
Steve Sanders committed Sep 5, 2018
1 parent 9241f0f commit fa84f62
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion keybase/platform_linux.go
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ func (c context) BeforeUpdatePrompt(update updater.Update, options updater.Updat
if err != nil {
c.log.Warningf("Error running notify-send: %s (%s)", err, result.CombinedOutput())
}
c.ReportAction(UpdateActionResponse{updater.UpdateActionSnooze, false, 0}, &update, options)
c.ReportAction(UpdatePromptResponse{updater.UpdateActionSnooze, false, 0}, &update, options)
return updater.CancelErr(fmt.Errorf("Linux uses system package manager"))
}

Expand Down
2 changes: 1 addition & 1 deletion update_checker_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ func (u testUpdateCheckUI) UpdateOptions() UpdateOptions {
return newDefaultTestUpdateOptions()
}

func (u testUpdateCheckUI) ReportAction(_ UpdateActionResponse, _ *Update, _ UpdateOptions) {}
func (u testUpdateCheckUI) ReportAction(_ UpdatePromptResponse, _ *Update, _ UpdateOptions) {}

func (u testUpdateCheckUI) ReportError(_ error, _ *Update, _ UpdateOptions) {}

Expand Down
2 changes: 1 addition & 1 deletion updater_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ func (u *testUpdateUI) ReportError(err error, update *Update, options UpdateOpti
u.errReported = err
}

func (u *testUpdateUI) ReportAction(actionResponse UpdateActionResponse, update *Update, options UpdateOptions) {
func (u *testUpdateUI) ReportAction(actionResponse UpdatePromptResponse, update *Update, options UpdateOptions) {
u.actionReported = actionResponse.action
autoUpdate, _ := u.cfg.GetUpdateAuto()
u.autoUpdateReported = autoUpdate
Expand Down

0 comments on commit fa84f62

Please sign in to comment.