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, namespace *Namespace,
nodeKey *key.NodePublic, nodeKey *key.NodePublic,
) error { ) error {
if _, err := h.RegisterMachineFromAuthCallback( if _, err := h.RegisterMachineFromAuthCallback(
nodeKey.String(), nodeKey.String(),
namespace.Name, namespace.Name,