forked from TrueCloudLab/certificates
Rename option.
This commit is contained in:
parent
2ec0c24e98
commit
9f21813dd6
2 changed files with 5 additions and 5 deletions
|
@ -18,7 +18,7 @@ type Options struct {
|
|||
|
||||
// CertificateAuthority reference. In CloudCAS the format is
|
||||
// `projects/*/locations/*/certificateAuthorities/*`.
|
||||
Certificateauthority string `json:"certificateAuthority"`
|
||||
CertificateAuthority string `json:"certificateAuthority"`
|
||||
|
||||
// Issuer and signer are the issuer certificate and signer used in SoftCAS.
|
||||
// They are configured in ca.json crt and key properties.
|
||||
|
|
|
@ -42,7 +42,7 @@ func TestOptions_Validate(t *testing.T) {
|
|||
type fields struct {
|
||||
Type string
|
||||
CredentialsFile string
|
||||
Certificateauthority string
|
||||
CertificateAuthority string
|
||||
Issuer *x509.Certificate
|
||||
Signer crypto.Signer
|
||||
}
|
||||
|
@ -69,7 +69,7 @@ func TestOptions_Validate(t *testing.T) {
|
|||
o := &Options{
|
||||
Type: tt.fields.Type,
|
||||
CredentialsFile: tt.fields.CredentialsFile,
|
||||
Certificateauthority: tt.fields.Certificateauthority,
|
||||
CertificateAuthority: tt.fields.CertificateAuthority,
|
||||
Issuer: tt.fields.Issuer,
|
||||
Signer: tt.fields.Signer,
|
||||
}
|
||||
|
@ -86,7 +86,7 @@ func TestOptions_Is(t *testing.T) {
|
|||
type fields struct {
|
||||
Type string
|
||||
CredentialsFile string
|
||||
Certificateauthority string
|
||||
CertificateAuthority string
|
||||
Issuer *x509.Certificate
|
||||
Signer crypto.Signer
|
||||
}
|
||||
|
@ -119,7 +119,7 @@ func TestOptions_Is(t *testing.T) {
|
|||
o := &Options{
|
||||
Type: tt.fields.Type,
|
||||
CredentialsFile: tt.fields.CredentialsFile,
|
||||
Certificateauthority: tt.fields.Certificateauthority,
|
||||
CertificateAuthority: tt.fields.CertificateAuthority,
|
||||
Issuer: tt.fields.Issuer,
|
||||
Signer: tt.fields.Signer,
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue