mirror of
https://github.com/juanfont/headscale.git
synced 2025-08-11 21:27:45 +00:00
Removed unused parameter
This commit is contained in:
3
api.go
3
api.go
@@ -149,7 +149,7 @@ func (h *Headscale) RegistrationHandler(ctx *gin.Context) {
|
||||
}
|
||||
|
||||
// The machine has expired
|
||||
h.handleMachineExpired(ctx, machineKey, req, *machine)
|
||||
h.handleMachineExpired(ctx, machineKey, *machine)
|
||||
|
||||
return
|
||||
}
|
||||
@@ -351,7 +351,6 @@ func (h *Headscale) handleMachineValidRegistration(
|
||||
func (h *Headscale) handleMachineExpired(
|
||||
ctx *gin.Context,
|
||||
idKey wgkey.Key,
|
||||
reqisterRequest tailcfg.RegisterRequest,
|
||||
machine Machine,
|
||||
) {
|
||||
resp := tailcfg.RegisterResponse{}
|
||||
|
Reference in New Issue
Block a user