Skip to content

Commit

Permalink
feat(cloud-provisioning): Fixes wrong type for CloudCertificateMetadata
Browse files Browse the repository at this point in the history
domain.CloudCertificateMetadata.GetType() was returning incorrect type for Azure and GCP.
  • Loading branch information
rvelaVenafi committed May 24, 2024
1 parent 1b67a30 commit 811f603
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/domain/cloudproviders.go
Original file line number Diff line number Diff line change
Expand Up @@ -151,9 +151,9 @@ func (ccm *CertificateCloudMetadata) GetType() string {
case "AWSCertificateMetadata":
return CloudMetadataACM
case "AzureCertificateMetadata":
return CloudMetadataGCM
case "GCPCertificateMetadata":
return CloudMetadataAKV
case "GCPCertificateMetadata":
return CloudMetadataGCM
default:
return CloudMetadataUnknown
}
Expand Down

0 comments on commit 811f603

Please sign in to comment.