mirror of
https://github.com/juanfont/headscale.git
synced 2024-11-23 18:15:26 +00:00
Removed unused parameter
This commit is contained in:
parent
c2393685f1
commit
1687e3b03f
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{}
|
||||
|
Loading…
Reference in New Issue
Block a user