Skip to content

Commit

Permalink
Second attempt to fix #1
Browse files Browse the repository at this point in the history
  • Loading branch information
RobBiddle committed Jun 8, 2018
1 parent 15f12e8 commit 41b32cf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Public/Get-NewLetsEncryptCertificate.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -193,10 +193,10 @@ function Get-NewLetsEncryptCertificate {
# Determine which records to process
$HostAndZoneList = @()
if ($ZoneNames) {
$NamesToMatch = ($R53Records | Where-Object ZoneName -in $ZoneNames).RecordName
$NamesToMatch = ($R53Records | Where-Object { ($_.ZoneName).Trim('.') -in $ZoneNames}).RecordName
}
if ($DomainNames) {
$NamesToMatch = ($R53Records | Where-Object ZoneName -in $DomainNames).RecordName
$NamesToMatch = ($R53Records | Where-Object { ($_.ZoneName).Trim('.') -in $DomainNames}).RecordName
}
if ($ALL) {
$NamesToMatch = $R53Records.RecordName
Expand Down

0 comments on commit 41b32cf

Please sign in to comment.