Remove unuused parameters

This commit removes names for unusued parameters where they are no longer needed.
This commit is contained in:
Tom Wiesing 2024-04-08 22:57:25 +02:00
parent b45233b87c
commit 8ad8cf7994
No known key found for this signature in database
24 changed files with 30 additions and 30 deletions

View file

@ -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)