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

loader: check enabled L7 proxy via config property #26627

Merged

Commits on Jul 4, 2023

  1. loader: check enabled L7 proxy via config property

    Currently, the check whether l7 proxy functionality is enabled is based
    on whether the passed proxy reference is `nil` or not.
    
    Due to Go's nil-handling on Interfaces, this result in calls to
    `proxy.ReinstallRules` even though l7 proxy functionality isn't enabled.
    
    Therefore, this commit changes the check towards checking the config
    property.
    
    Signed-off-by: Marco Hofstetter <marco.hofstetter@isovalent.com>
    mhofstetter committed Jul 4, 2023
    Configuration menu
    Copy the full SHA
    34df32f View commit details
    Browse the repository at this point in the history