Skip to content

Fix RDMA project branch merge from v2#1003

Merged
yec-akamai merged 2 commits into
proj/rdma-interfacesfrom
fix-v2-issues
Jul 8, 2026
Merged

Fix RDMA project branch merge from v2#1003
yec-akamai merged 2 commits into
proj/rdma-interfacesfrom
fix-v2-issues

Conversation

@yec-akamai

Copy link
Copy Markdown
Contributor

📝 Description

Fix some issues introduced from merge linodego v2 into the rdma project branch.

✔️ How to Test

make test-unit
make test-int

Copilot AI review requested due to automatic review settings July 7, 2026 20:26
@yec-akamai yec-akamai requested review from a team as code owners July 7, 2026 20:26
@yec-akamai yec-akamai requested review from ezilber-akamai and mawilk90 and removed request for a team July 7, 2026 20:26

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Fixes regressions from merging linodego/v2 into the RDMA project branch by aligning interface update types and updating RDMA VPC unit tests to match the v2 module path and current option struct shapes.

Changes:

  • Adjust LinodeInterfaceUpdateOptions to use InterfaceDefaultRouteUpdateOptions for DefaultRoute.
  • Update RDMA VPC unit tests to import github.com/linode/linodego/v2 and to use the non-pointer Addresses slice shape.
  • Minor formatting cleanup in vpc.go.

Reviewed changes

Copilot reviewed 2 out of 3 changed files in this pull request and generated 2 comments.

File Description
vpc.go Formatting-only cleanup around VPCCreateOptions.
interfaces.go Updates the interface update options type for DefaultRoute (and touches JSON tags).
test/unit/rdma_vpc_test.go Fixes v2 import path and updates test data to match current Addresses field type.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread interfaces.go Outdated
Comment thread interfaces.go Outdated
@yec-akamai yec-akamai added the hotfix for hotfixes that do not have a corresponding Jira ticket label Jul 7, 2026

@ezilber-akamai ezilber-akamai left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Changes look good and tests passing locally!

@yec-akamai yec-akamai merged commit a7098e1 into proj/rdma-interfaces Jul 8, 2026
12 of 13 checks passed
@yec-akamai yec-akamai deleted the fix-v2-issues branch July 8, 2026 13:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

hotfix for hotfixes that do not have a corresponding Jira ticket

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants