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

fix: diff with not-existing WS must not fail due to defaults #702

Merged
merged 1 commit into from
Jul 8, 2022

Commits on Jun 21, 2022

  1. fix: diff with not-existing WS must not fail due to defaults

    decK dynamically discovers entities defaults by interacting
    with the Kong Admin API. Queries to retrieve entities schema
    for a workspace that doesn't exist yet would fail though.
    When running `diff`, in order to prevent a failure, decK simply
    skips defaults injection for all entities, but it was still
    wrongly running queries for plugins, making the run fail.
    
    This PR makes sure plugins defaults injection is treated the
    same as other entities when running `diff` against a
    not-existing workspace.
    GGabriele committed Jun 21, 2022
    Configuration menu
    Copy the full SHA
    b8ec7b5 View commit details
    Browse the repository at this point in the history