Ensure trailing newline

pull/16592/head
Chris S. Kim 2023-03-09 17:41:55 -05:00
parent 523d313671
commit 8a113841d4
1 changed files with 1 additions and 1 deletions

View File

@ -272,7 +272,7 @@ func newCARoot(pemValue, provider, clusterID string) (*structs.CARoot, error) {
ExternalTrustDomain: clusterID, ExternalTrustDomain: clusterID,
NotBefore: primaryCert.NotBefore, NotBefore: primaryCert.NotBefore,
NotAfter: primaryCert.NotAfter, NotAfter: primaryCert.NotAfter,
RootCert: pemValue, RootCert: lib.EnsureTrailingNewline(pemValue),
PrivateKeyType: keyType, PrivateKeyType: keyType,
PrivateKeyBits: keyBits, PrivateKeyBits: keyBits,
Active: true, Active: true,