chore: update formatting

This commit is contained in:
Adrien Raffin-Caboisse 2022-02-23 14:22:21 +01:00
parent 972bef1194
commit 046116656b

View File

@ -281,7 +281,10 @@ func (h *Headscale) OIDCCallback(ctx *gin.Context) {
now := time.Now().UTC()
namespaceName, err := NormalizeNamespaceName(claims.Email, h.cfg.OIDC.StripEmaildomain)
namespaceName, err := NormalizeNamespaceName(
claims.Email,
h.cfg.OIDC.StripEmaildomain,
)
if err != nil {
log.Error().Err(err).Caller().Msgf("couldn't normalize email")
ctx.String(