Skip to content

Commit

Permalink
Delete unused parameters.
Browse files Browse the repository at this point in the history
  • Loading branch information
i-sevostyanov committed Oct 1, 2019
1 parent 1cf1421 commit 9480036
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion doghouse/appengine/checker.go
Expand Up @@ -117,7 +117,7 @@ func githubRepoURL(ctx context.Context, r *http.Request, owner, repo string) str
return u.String()
}

func doghouseBaseURL(ctx context.Context, r *http.Request) *url.URL {
func doghouseBaseURL(_ context.Context, r *http.Request) *url.URL {
scheme := ""
if r.URL != nil && r.URL.Scheme != "" {
scheme = r.URL.Scheme
Expand Down
2 changes: 1 addition & 1 deletion doghouse/appengine/main.go
Expand Up @@ -105,7 +105,7 @@ func main() {
log.Fatal(http.ListenAndServe(":"+os.Getenv("PORT"), nil))
}

func handleTop(w http.ResponseWriter, r *http.Request) {
func handleTop(w http.ResponseWriter, _ *http.Request) {
var data struct {
Title string
}
Expand Down
2 changes: 1 addition & 1 deletion doghouse/appengine/warmup.go
Expand Up @@ -7,7 +7,7 @@ import (
"github.com/reviewdog/reviewdog/doghouse/server/ciutil"
)

func warmupHandler(w http.ResponseWriter, r *http.Request) {
func warmupHandler(_ http.ResponseWriter, _ *http.Request) {
log.Printf("[INFO] warming up server...\n")

if err := ciutil.UpdateTravisCIIPAddrs(&http.Client{}); err != nil {
Expand Down

0 comments on commit 9480036

Please sign in to comment.