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

Pass status along ipam update #1082

Open
wants to merge 10 commits into
base: main
Choose a base branch
from

Conversation

LionelJouin
Copy link
Contributor

This PR fixes the missing parts of #1050 (pass STATUS to a delegated plugin)
I also updated the cni dependency to v1.2.3

Signed-off-by: Miguel Duarte Barroso <mdbarroso@redhat.com>
Signed-off-by: Miguel Duarte Barroso <mdbarroso@redhat.com>
The `skel.PluginMain` functions were deprecated in CNI v1.2.0.

Signed-off-by: Miguel Duarte Barroso <mdbarroso@redhat.com>
Signed-off-by: Miguel Duarte Barroso <mdbarroso@redhat.com>
Signed-off-by: Miguel Duarte Barroso <mdbarroso@redhat.com>
Signed-off-by: Miguel Duarte Barroso <mdbarroso@redhat.com>
Signed-off-by: Miguel Duarte Barroso <mdbarroso@redhat.com>
}
}

// TODO: Check if hode device exists.
Copy link
Member

Choose a reason for hiding this comment

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

This is awkward -- you're right, the host device does not exist anymore, but it may have been moved with an ADD. I worry this could cause more trouble than its worth. Hmm.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I fixed the miss-spelling.
The idea comes from this comment: #1021 (comment)

Copy link
Member

@squeed squeed left a comment

Choose a reason for hiding this comment

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

nice!!!!

Signed-off-by: Lionel Jouin <lionel.jouin@est.tech>
@champtar
Copy link
Contributor

@LionelJouin you need to be rebase

@squeed
Copy link
Member

squeed commented Sep 16, 2024

@LionelJouin needs another rebase :-)

@squeed
Copy link
Member

squeed commented Sep 17, 2024

@LionelJouin somehow this PR still does not have the green button. Perhaps the latest changes to go.mod are causing the issue.

Can you rebase and drop your merge commit? That helps keep the history clean.

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.

4 participants