Fix oidc.go linting issues

Signed-off-by: Juan Font Alonso <juanfontalonso@gmail.com>
This commit is contained in:
Juan Font Alonso 2022-11-13 15:17:31 +01:00 committed by Juan Font
parent d038df2a88
commit 18c0009a51

View file

@ -604,7 +604,6 @@ func (h *Headscale) registerMachineForOIDCCallback(
namespace *Namespace,
nodeKey *key.NodePublic,
) error {
if _, err := h.RegisterMachineFromAuthCallback(
nodeKey.String(),
namespace.Name,