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

SPEC, libcni: harmonize GC valid-attachment key #1103

Merged
merged 2 commits into from
Jul 22, 2024

Conversation

squeed
Copy link
Member

@squeed squeed commented Jul 1, 2024

The SPEC said valid attachments should be cni.dev/attachments, whereas libcni used cni.dev/valid-attachments. Oops.

This changes the SPEC to match libcni, and has libcni set both variables, just in case.

Fixes: #1101

The SPEC and libcni disagreed on the name to use for still-valid
attachments. Change the spec to be aligned with libcni.

Signed-off-by: Casey Callendrello <c1@caseyc.net>
@squeed
Copy link
Member Author

squeed commented Jul 1, 2024

@kanpov thanks for noticing this!

@coveralls
Copy link

Coverage Status

coverage: 63.78% (+0.03%) from 63.753%
when pulling ae9487b on squeed:fix-gc-key-name
into d5c71ad on containernetworking:main.

libcni/api.go Show resolved Hide resolved
SPEC.md Show resolved Hide resolved
I made an (embarassing) error where SPEC.md and libcni disagreed on the
key for valid attachments for a GC operation. The spec has been
updated, but libcni should set both keys as a transition mechanism.

Signed-off-by: Casey Callendrello <c1@caseyc.net>
@coveralls
Copy link

Coverage Status

coverage: 63.78% (+0.03%) from 63.753%
when pulling 692efbd on squeed:fix-gc-key-name
into d5c71ad on containernetworking:main.

@squeed squeed merged commit 309b6bb into containernetworking:main Jul 22, 2024
5 checks passed
This pull request was closed.
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.

Error in specification regarding GC??
5 participants