Removed unused parameter

This commit is contained in:
Kristoffer Dalby 2021-11-21 21:29:27 +00:00
parent c2393685f1
commit 1687e3b03f
No known key found for this signature in database
GPG key ID: 09F62DC067465735

3
api.go
View file

@ -149,7 +149,7 @@ func (h *Headscale) RegistrationHandler(ctx *gin.Context) {
} }
// The machine has expired // The machine has expired
h.handleMachineExpired(ctx, machineKey, req, *machine) h.handleMachineExpired(ctx, machineKey, *machine)
return return
} }
@ -351,7 +351,6 @@ func (h *Headscale) handleMachineValidRegistration(
func (h *Headscale) handleMachineExpired( func (h *Headscale) handleMachineExpired(
ctx *gin.Context, ctx *gin.Context,
idKey wgkey.Key, idKey wgkey.Key,
reqisterRequest tailcfg.RegisterRequest,
machine Machine, machine Machine,
) { ) {
resp := tailcfg.RegisterResponse{} resp := tailcfg.RegisterResponse{}