From 01248997595abf8d8a24c4047a75af322acd07c4 Mon Sep 17 00:00:00 2001 From: Juan Font Date: Sun, 8 Aug 2021 00:14:10 +0200 Subject: [PATCH] fixed linting x 2 --- preauth_keys.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/preauth_keys.go b/preauth_keys.go index f462fb56..cc849fc0 100644 --- a/preauth_keys.go +++ b/preauth_keys.go @@ -81,7 +81,7 @@ func (h *Headscale) GetPreAuthKey(namespace string, key string) (*PreAuthKey, er return pak, nil } -// MarkExpirePreauthKey marks a PreAuthKey as expired +// MarkExpirePreAuthKey marks a PreAuthKey as expired func (h *Headscale) MarkExpirePreAuthKey(k *PreAuthKey) error { if err := h.db.Model(&k).Update("Expiration", time.Now()).Error; err != nil { return err