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(cli): deprecated commands default to kong.yaml #1073

Merged
merged 1 commit into from
Nov 1, 2023
Merged

Commits on Nov 1, 2023

  1. fix(cli): deprecated commands default to kong.yaml

    2 Cobra commands were generated; deprecated, and current. Both
    would point to the same golbal variable.
    The bug is that Cobra sets the defaults when CREATING the command
    not when parsing. This means that the last command created would
    set the global defaults, and hence overwrite the ones from the
    other command.
    
    Introduced in #962
    
    Jira: DECK-156
    Tieske committed Nov 1, 2023
    Configuration menu
    Copy the full SHA
    5ebe4ba View commit details
    Browse the repository at this point in the history