Removed unused parameter
This commit is contained in:
parent
c2393685f1
commit
1687e3b03f
1 changed files with 1 additions and 2 deletions
3
api.go
3
api.go
|
@ -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{}
|
||||||
|
|
Loading…
Reference in a new issue