Skip to content

Commit

Permalink
Merge remote-tracking branch 'sinisa229/patch-1' into patch-route53
Browse files Browse the repository at this point in the history
  • Loading branch information
danarbaugh committed Oct 27, 2023
2 parents c2ae6d7 + e22e3d9 commit 38610d6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion resources/route53-resolver-rules.go
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ func resolverRulesToVpcIDs(svc *route53resolver.Route53Resolver) (map[string][]*

// Filter removes resources automatically from being nuked
func (r *Route53ResolverRule) Filter() error {
if *r.domainName == "." {
if r.domainName != nil && *r.domainName == "." {
return fmt.Errorf(`Filtering DomainName "."`)
}

Expand Down

0 comments on commit 38610d6

Please sign in to comment.