Skip to content

Commit

Permalink
Fix custom DNS for primary resource (#491)
Browse files Browse the repository at this point in the history
  • Loading branch information
mohandholu43 authored Jan 8, 2025
1 parent 9a1eab9 commit 07e3d4a
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ function ResourceCustomDNS(props) {

const res = [];

if (primaryResourceName || otherResourceFilteredEndpoints?.length > 0) {
if (primaryResourceName || primaryResourceEndpoint) {
const customDNSEndpointName =
globalEndpoints?.primary?.customDNSEndpoint?.name ?? "";
if (
Expand Down Expand Up @@ -113,7 +113,7 @@ function ResourceCustomDNS(props) {
primaryResourceName,
primaryResourceEndpoint,
otherResourceFilteredEndpoints,
globalEndpoints?.primary?.customDNSEndpoint,
globalEndpoints,
addCustomDNSMutation,
removeCustomDNSMutation,
]);
Expand Down

0 comments on commit 07e3d4a

Please sign in to comment.