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:"-"`
// 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:"-"`

View file

@ -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,