update NetConf.DNS's json tag to omitempty#1007
update NetConf.DNS's json tag to omitempty#1007cyclinder wants to merge 1 commit intocontainernetworking:mainfrom
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 <qifeng.guo@daocloud.io>
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