Fix typos in comments.

This commit is contained in:
Mariano Cano 2021-06-23 09:35:14 +02:00
parent 16e0cffd8b
commit 35e6cc275a
2 changed files with 4 additions and 4 deletions

View file

@ -46,9 +46,9 @@ type Options struct {
KeyManager kms.KeyManager `json:"-"` KeyManager kms.KeyManager `json:"-"`
// Project, Location, CaPool and GCSBucket are parameters used in CloudCAS // Project, Location, CaPool and GCSBucket are parameters used in CloudCAS
// to create a new certificate authority. If a CaPool does not exists it // to create a new certificate authority. If a CaPool does not exist it will
// will be created. GCSBucket is optional, if not provided GCloud will // be created. GCSBucket is optional, if not provided GCloud will create a
// create a managed bucket. // managed bucket.
Project string `json:"-"` Project string `json:"-"`
Location string `json:"-"` Location string `json:"-"`
CaPool string `json:"-"` CaPool string `json:"-"`

View file

@ -67,7 +67,7 @@ var revocationCodeMap = map[int]pb.RevocationReason{
10: pb.RevocationReason_ATTRIBUTE_AUTHORITY_COMPROMISE, 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{ var caPoolTierMap = map[string]pb.CaPool_Tier{
"": pb.CaPool_DEVOPS, "": pb.CaPool_DEVOPS,
"ENTERPRISE": pb.CaPool_ENTERPRISE, "ENTERPRISE": pb.CaPool_ENTERPRISE,