From 2c68915b7055ed387202a8ebcfc3a3d745b44fd2 Mon Sep 17 00:00:00 2001 From: Mariano Cano Date: Tue, 23 Apr 2019 14:36:11 -0700 Subject: [PATCH] Fix comment. --- authority/provisioner/gcp.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/authority/provisioner/gcp.go b/authority/provisioner/gcp.go index 794aff5d..21752748 100644 --- a/authority/provisioner/gcp.go +++ b/authority/provisioner/gcp.go @@ -200,8 +200,8 @@ func (p *GCP) AuthorizeRenewal(cert *x509.Certificate) error { return nil } -// AuthorizeRevoke returns an error if the provisioner does not have rights to -// revoke a certificate. +// AuthorizeRevoke returns an error because revoke is not supported on GCP +// provisioners. func (p *GCP) AuthorizeRevoke(token string) error { return errors.New("revoke is not supported on a GCP provisioner") }