change: update name of method to check and normalize Domain name

This commit is contained in:
Adrien Raffin-Caboisse
2022-03-06 20:46:17 +01:00
parent dcf3ea567c
commit 1114449601
5 changed files with 14 additions and 14 deletions

View File

@@ -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,
)