Fix errors introduced by merge

This commit is contained in:
Kristoffer Dalby 2022-05-31 11:03:08 +02:00
parent 0676aa11a9
commit a19af04582
2 changed files with 7 additions and 4 deletions

View file

@ -121,7 +121,7 @@ func (h *Headscale) PollNetMapHandler(ctx *gin.Context) {
log.Error().
Str("handler", "PollNetMap").
Str("id", ctx.Param("id")).
Str("machine", machine.Name).
Str("machine", machine.Hostname).
Err(err).
Msg("Failed to persist/update machine in the database")
ctx.String(http.StatusInternalServerError, ":(")