Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Properly return Conflict error on specific IP allocation. #489

Merged
merged 3 commits into from
Feb 15, 2024

Conversation

Gerrit91
Copy link
Contributor

@Gerrit91 Gerrit91 commented Jan 17, 2024

We have ugly parts like this in our clients: https://github.com/metal-stack/metalctl/blob/master/cmd/ip.go#L130-L133

We already defined the Conflict but do not return it when we cannot allocate an IP from go-ipam.

@Gerrit91 Gerrit91 self-assigned this Feb 5, 2024
@Gerrit91 Gerrit91 marked this pull request as ready for review February 14, 2024 14:37
@Gerrit91 Gerrit91 requested a review from a team as a code owner February 14, 2024 14:37
@Gerrit91 Gerrit91 requested a review from majst01 February 14, 2024 14:37
@majst01 majst01 merged commit 789c06c into master Feb 15, 2024
1 of 2 checks passed
@majst01 majst01 deleted the proper-ip-conflict-return branch February 15, 2024 10:06
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