fix: apply fmt and fix missing name changes

This commit is contained in:
Adrien Raffin-Caboisse committed 2022-03-07 23:20:30 +01:00
1 parent 2b68c90778
commit 41efe98953
3 files changed
+3 -2

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 := NormalizeName(
hname, err := NormalizeToFQDNRules(
req.Hostinfo.Hostname,
h.cfg.OIDC.StripEmaildomain,
)