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

policy/api: Rework Rule.MarshalJSON() to ease maintainability #11651

Merged
merged 1 commit into from
May 27, 2020

Commits on May 26, 2020

  1. policy/api: Rework Rule.MarshalJSON() to ease maintainability

    Instead of listing all fields of Rule manually, use type embedding.
    
    Co-authored-by: André Martins <andre@cilium.io>
    Signed-off-by: Paul Chaignon <paul@cilium.io>
    pchaigno and aanm committed May 26, 2020
    Configuration menu
    Copy the full SHA
    78dbf4f View commit details
    Browse the repository at this point in the history