diff --git a/cas/apiv1/options.go b/cas/apiv1/options.go index 412cc654..61cac9a2 100644 --- a/cas/apiv1/options.go +++ b/cas/apiv1/options.go @@ -46,9 +46,9 @@ type Options struct { KeyManager kms.KeyManager `json:"-"` // Project, Location, CaPool and GCSBucket are parameters used in CloudCAS - // to create a new certificate authority. If a CaPool does not exists it - // will be created. GCSBucket is optional, if not provided GCloud will - // create a managed bucket. + // to create a new certificate authority. If a CaPool does not exist it will + // be created. GCSBucket is optional, if not provided GCloud will create a + // managed bucket. Project string `json:"-"` Location string `json:"-"` CaPool string `json:"-"` diff --git a/cas/cloudcas/cloudcas.go b/cas/cloudcas/cloudcas.go index 1be47694..2e9da260 100644 --- a/cas/cloudcas/cloudcas.go +++ b/cas/cloudcas/cloudcas.go @@ -67,7 +67,7 @@ var revocationCodeMap = map[int]pb.RevocationReason{ 10: pb.RevocationReason_ATTRIBUTE_AUTHORITY_COMPROMISE, } -// caPoolTierMap contains the map between apv1.Options.Tier and the pb type. +// caPoolTierMap contains the map between apiv1.Options.Tier and the pb type. var caPoolTierMap = map[string]pb.CaPool_Tier{ "": pb.CaPool_DEVOPS, "ENTERPRISE": pb.CaPool_ENTERPRISE,