Skip to content
This repository was archived by the owner on Sep 30, 2024. It is now read-only.

sg/msp: fix nil domain and EnvironmentDomainTypeNone in diagram gen#62982

Merged
jac merged 2 commits into
mainfrom
jac/core-140
May 30, 2024
Merged

sg/msp: fix nil domain and EnvironmentDomainTypeNone in diagram gen#62982
jac merged 2 commits into
mainfrom
jac/core-140

Conversation

@jac

@jac jac commented May 30, 2024

Copy link
Copy Markdown
Member

Not specifying a domain config or using EnvironmentDomainTypeNone was causing a nil panic during diagram generation. This PR fixes that

Closes CORE-140

Test plan

nil Domain or EnvironmentDomainTypeNone generates a diagram like so:
image

@jac jac requested a review from a team May 30, 2024 10:38
@cla-bot cla-bot Bot added the cla-signed label May 30, 2024
@bobheadxi

Copy link
Copy Markdown
Member

Without a domain, do we actually provision an IP address and ALB stack? IIRC we don't, and only provide the Cloud Run URL

@jac

jac commented May 30, 2024

Copy link
Copy Markdown
Member Author

Without a domain, do we actually provision an IP address and ALB stack? IIRC we don't, and only provide the Cloud Run URL

good catch

@bobheadxi bobheadxi left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!

@jac jac merged commit 2f4e3b9 into main May 30, 2024
@jac jac deleted the jac/core-140 branch May 30, 2024 16:58
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants