-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
update NetConf.DNS's json tag to omitempty #1007
Conversation
@cyclinder could you add your Signed-off-by: to the commit? That will fix the DCO check. Thanks! |
c4c71ef
to
4f3c279
Compare
Thanks for the tip. Updated. |
Hi @dcbw, I found
We should make struct to a pointer. Pointers have obvious "empty" values:
Can we set |
@dcbw Hi, Could you take a look? Can we set |
4f3c279
to
c78b86d
Compare
Signed-off-by: cyclinder <[email protected]>
c78b86d
to
7e7ce0b
Compare
Hey @squeed, Could you please take a look? Thanks. |
I suppose we also need to change DNS in Result (at least 1.0.0) to pointer as well as NetConf if we change NetConf's DNS type. What do you think about that? |
I will cherry-pick your change and create another PR to care about both (NetConf + Result). Please let me know if you mind it. Thanks! |
Files #1035 with your commit (as cherry-pick). |
Sorry for the delay @s1061123 due to busy with working :>
It doesn't matter, you are welcome. |
Closed because #1039 fixes this issue. |
Fixes #1006