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

[DO NOT MERGE] Tests change to net-attach-def library for gateway determination of d… #1343

Conversation

dougbtv
Copy link
Member

@dougbtv dougbtv commented Oct 10, 2024

…efault=true in status

This is a test change to the library for determination of the default=true interface in the network-status annotation when multiple interfaces are present in the result.

…efault=true in status

This is a test change to the library for determination of the default=true interface in the network-status annotation when multiple interfaces are present in the result.
@coveralls
Copy link

Coverage Status

coverage: 64.122% (+0.3%) from 63.857%
when pulling 4ae6916 on dougbtv:test-multi-if-cni-result-gateway-marking
into adfb270 on k8snetworkplumbingwg:master.

Comment on lines +139 to +142
if len(result.Interfaces) == 1 {
networkStatus, err := CreateNetworkStatus(r, networkName, defaultNetwork, dev)
return []*v1.NetworkStatus{networkStatus}, err
}
Copy link
Collaborator

Choose a reason for hiding this comment

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

@dougbtv dougbtv closed this Oct 24, 2024
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.

3 participants