mirror of
https://github.com/juanfont/headscale.git
synced 2026-10-31 02:34:07 +09:00
Fix labels cardinality error when registering unknown pre-auth key
This commit is contained in:
1 parent
9a632c17d1
commit
52fd13bfc4
2 files changed
+5
-1
No files matched your search
@@ -573,7 +573,7 @@ func (h *Headscale) handleAuthKey(
|
||||
machineRegistrations.WithLabelValues("new", RegisterMethodAuthKey, "error", pak.Namespace.Name).
|
||||
Inc()
|
||||
} else {
|
||||
machineRegistrations.WithLabelValues("new", RegisterMethodAuthKey, "error").Inc()
|
||||
machineRegistrations.WithLabelValues("new", RegisterMethodAuthKey, "error", "unknown").Inc()
|
||||
}
|
||||
|
||||
return
|
||||
|
||||
Reference in new issue
Block a user