mirror of
https://github.com/juanfont/headscale.git
synced 2026-11-02 11:44:05 +09:00
Cleanup some unreachable code
This commit is contained in:
1 parent
379017602c
commit
82cb6b9ddc
2 files changed
+1
-24
No files matched your search
@@ -215,7 +215,7 @@ func (h *Headscale) OIDCCallback(ctx *gin.Context) {
|
||||
return
|
||||
}
|
||||
|
||||
// retrieve machine information
|
||||
// retrieve machine information if it exist
|
||||
machine, err := h.GetMachineByMachineKey(machineKey)
|
||||
if err != nil {
|
||||
log.Error().Msg("machine key not found in database")
|
||||
|
||||
Reference in new issue
Block a user