Remove unuused parameters
This commit removes names for unusued parameters where they are no longer needed.
This commit is contained in:
parent
b45233b87c
commit
8ad8cf7994
24 changed files with 30 additions and 30 deletions
|
|
@ -57,7 +57,7 @@ func (home *Home) HandleRoute(ctx context.Context, route string) (http.Handler,
|
|||
}), nil
|
||||
}
|
||||
|
||||
func (home *Home) serveWissKI(w http.ResponseWriter, slug string, r *http.Request) {
|
||||
func (home *Home) serveWissKI(w http.ResponseWriter, slug string, _ *http.Request) {
|
||||
if _, ok := home.dependencies.ListInstances.Names()[slug]; !ok {
|
||||
// Get(nil) guaranteed to work by precondition
|
||||
w.WriteHeader(http.StatusNotFound)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue