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

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

No files matched your search

+1 -1
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,
)