Skip to content

Commit

Permalink
Fixing linting
Browse files Browse the repository at this point in the history
  • Loading branch information
nickschuch committed Oct 30, 2024
1 parent e958db6 commit 6aff1f4
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions internal/config/config.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// Package config for the redirect application.
package config

import (
Expand Down
3 changes: 2 additions & 1 deletion internal/server/server.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// Package server for handling requests.
package server

import (
Expand Down Expand Up @@ -81,7 +82,7 @@ func Run(params RunParams, config config.File) error {
// Debug messaging - also add target to LB.
fmt.Printf("Starting proxy on addr: %s for endpoint: %s\n", params.Addr, endpoint)

http.HandleFunc("/readyz", func(w http.ResponseWriter, r *http.Request) {
http.HandleFunc("/readyz", func(w http.ResponseWriter, _ *http.Request) {
w.WriteHeader(http.StatusOK)
w.Write([]byte("Ready!"))
})
Expand Down
1 change: 1 addition & 0 deletions main.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// Package main for application entrypoint.
package main

import (
Expand Down

0 comments on commit 6aff1f4

Please sign in to comment.