chzhuo opened a new pull request #723:
URL: https://github.com/apache/apisix-ingress-controller/pull/723


   Please answer these questions before submitting a pull request
   
   - Why submit this pull request?
   - [x] Bugfix
   - [ ] New feature provided
   - [ ] Improve performance
   - [ ] Backport patches
   
   - Related issues
   
   ___
   ### Bugfix
   - Description
   In the ApisixRoute CRD: 
   
![image](https://user-images.githubusercontent.com/10919124/139011884-e45bc91e-f578-4fe1-8c7e-bf1367f6336d.png)
   So the field `value` and `set` can't appear at the same time
   But the golang data structure will be marshal to `value: null` or `set: 
null`, this will cause CRD checking error
   
   - How to fix?
    Adding tag `omitempty` to this field 
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to