Skip to content

Handle existing TCP domains gracefully in switchblade#125

Merged
ramonskie merged 1 commit intomainfrom
tpc-gracefull-creation
Jan 6, 2026
Merged

Handle existing TCP domains gracefully in switchblade#125
ramonskie merged 1 commit intomainfrom
tpc-gracefull-creation

Conversation

@ramonskie
Copy link
Copy Markdown
Contributor

  • Modified switchblade setup.go to treat "already in use" as success
  • Fixes race condition where TCP domain exists but not in API response
  • Prevents fatal errors when tcp. already exists in CF

- Modified switchblade setup.go to treat "already in use" as success
- Fixes race condition where TCP domain exists but not in API response
- Prevents fatal errors when tcp.<domain> already exists in CF
Copy link
Copy Markdown
Contributor

@ivanovac ivanovac left a comment

Choose a reason for hiding this comment

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

lgtm

@ramonskie ramonskie merged commit 56c590e into main Jan 6, 2026
2 checks passed
@ramonskie ramonskie deleted the tpc-gracefull-creation branch January 6, 2026 15:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants