Skip to content

Commit

Permalink
More vaiables converted
Browse files Browse the repository at this point in the history
  • Loading branch information
juanfont committed Sep 22, 2023
1 parent 0acd33b commit 986bbd1
Show file tree
Hide file tree
Showing 3 changed files with 166 additions and 166 deletions.
4 changes: 2 additions & 2 deletions hscontrol/auth_legacy.go
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ func (h *Headscale) RegistrationHandler(
Caller().
Err(err).
Msg("Cannot parse machine key")
machineRegistrations.WithLabelValues("unknown", "web", "error", "unknown").Inc()
nodeRegistrations.WithLabelValues("unknown", "web", "error", "unknown").Inc()
http.Error(writer, "Cannot parse machine key", http.StatusBadRequest)

return
Expand All @@ -51,7 +51,7 @@ func (h *Headscale) RegistrationHandler(
Caller().
Err(err).
Msg("Cannot decode message")
machineRegistrations.WithLabelValues("unknown", "web", "error", "unknown").Inc()
nodeRegistrations.WithLabelValues("unknown", "web", "error", "unknown").Inc()
http.Error(writer, "Cannot decode message", http.StatusBadRequest)

return
Expand Down
Loading

0 comments on commit 986bbd1

Please sign in to comment.