From f8df6a1acc39c21944cd9b1ed5cada03b7d668c5 Mon Sep 17 00:00:00 2001 From: Mariano Cano Date: Fri, 11 Mar 2022 10:05:35 -0800 Subject: [PATCH] Change variable name for consistency --- api/api.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/api.go b/api/api.go index 7786bd0d..912e39dd 100644 --- a/api/api.go +++ b/api/api.go @@ -33,7 +33,7 @@ type Authority interface { // context specifies the Authorize[Sign|Revoke|etc.] method. Authorize(ctx context.Context, ott string) ([]provisioner.SignOption, error) AuthorizeSign(ott string) ([]provisioner.SignOption, error) - AuthorizeRenewToken(ctx context.Context, token string) (*x509.Certificate, error) + AuthorizeRenewToken(ctx context.Context, ott string) (*x509.Certificate, error) GetTLSOptions() *config.TLSOptions Root(shasum string) (*x509.Certificate, error) Sign(cr *x509.CertificateRequest, opts provisioner.SignOptions, signOpts ...provisioner.SignOption) ([]*x509.Certificate, error)