rawlinp commented on code in PR #6213:
URL: https://github.com/apache/trafficcontrol/pull/6213#discussion_r876400227
##########
traffic_ops/traffic_ops_golang/cdn/dnssecrefresh.go:
##########
@@ -375,7 +375,7 @@ WITH cdn_profile_ids AS (
MAX(p.id) as profile_id -- We only want 1 profile, so get the
probably-newest if there's more than one.
FROM
cdn c
- LEFT JOIN profile p ON c.id = p.cdn AND (p.name like 'CCR%' OR p.name like
'TR%')
+ LEFT JOIN profile p ON c.id = p.cdn AND (p.type = 'TR_PROFILE')
Review Comment:
Sure, I agree that it doesn't seem like there are many usages of other
profile type strings, so I don't mind if you want to add that to this PR.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]