Jelajahi Sumber

Change variable name for consistency

Mariano Cano 4 tahun lalu
induk
melakukan
f8df6a1acc
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  1. 1 1
      api/api.go

+ 1 - 1
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)