Skip to content

Commit

Permalink
First attempt at fixing #1
Browse files Browse the repository at this point in the history
  • Loading branch information
RobBiddle committed Jun 8, 2018
1 parent 1e7f94a commit 15f12e8
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 = $ZoneNames
$NamesToMatch = ($R53Records | Where-Object ZoneName -in $ZoneNames).RecordName
}
if ($DomainNames) {
$NamesToMatch = $DomainNames
$NamesToMatch = ($R53Records | Where-Object ZoneName -in $DomainNames).RecordName
}
if ($ALL) {
$NamesToMatch = $R53Records.RecordName
Expand Down

0 comments on commit 15f12e8

Please sign in to comment.