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

Add Marshal function in Result/NetConf to omit empty value #1039

Merged
merged 1 commit into from
Jan 8, 2024

Conversation

s1061123
Copy link
Contributor

This change fix to avoid empty DNS/IPAM field in NetConf/Result if DNS is empty.

@s1061123
Copy link
Contributor Author

This will oversede #1035 and #1007

pkg/types/types.go Outdated Show resolved Hide resolved
pkg/types/100/types.go Outdated Show resolved Hide resolved
@coveralls
Copy link

coveralls commented Nov 1, 2023

Coverage Status

coverage: 70.133% (-0.8%) from 70.893%
when pulling d1276f1 on s1061123:json-remove-dns
into 66c292a on containernetworking:main.

pkg/types/100/types.go Outdated Show resolved Hide resolved
This change fix to avoid empty DNS field in NetConf/Result
if DNS is empty.

Signed-off-by: Tomofumi Hayashi <[email protected]>
@squeed squeed merged commit b62753a into containernetworking:main Jan 8, 2024
5 checks passed
@Adawntoremember
Copy link

b62753a

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.

6 participants