change: update name of method to check and normalize Domain name
This commit is contained in:
parent
dcf3ea567c
commit
1114449601
5 changed files with 14 additions and 14 deletions
2
poll.go
2
poll.go
|
|
@ -83,7 +83,7 @@ func (h *Headscale) PollNetMapHandler(ctx *gin.Context) {
|
|||
Str("machine", machine.Name).
|
||||
Msg("Found machine in database")
|
||||
|
||||
hname, err := NormalizeNamespaceName(
|
||||
hname, err := NormalizeName(
|
||||
req.Hostinfo.Hostname,
|
||||
h.cfg.OIDC.StripEmaildomain,
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue