Skip to content
This repository has been archived by the owner on Jan 8, 2024. It is now read-only.

Fix the -set-default flag for context create. #3044

Merged
merged 3 commits into from
Feb 28, 2022

Commits on Feb 25, 2022

  1. Fix the -set-default flag for context create.

    THe flag was unused before this point. This also sets the default state to "true", which is what I think most users would expect.
    
    ```
    $ waypoint context list
        |         NAME         |  PLATFORM  |                                    SERVER ADDRESS
    ----+----------------------+------------+----------------------------------------------------------------------------------------
      * | is-default           | n/a        |
    
    izaak ~ $ ~/dev/waypoint/waypoint context create -set-default=false not-default
    
    Context "not-default" created.
    $ waypoint context list
        |         NAME         |  PLATFORM  |                                    SERVER ADDRESS
    ----+----------------------+------------+----------------------------------------------------------------------------------------
      * | is-default           | n/a        |
        | not-default          | n/a        |
    ```
    izaaklauer committed Feb 25, 2022
    Configuration menu
    Copy the full SHA
    94044f6 View commit details
    Browse the repository at this point in the history
  2. changelog

    izaaklauer committed Feb 25, 2022
    Configuration menu
    Copy the full SHA
    f3fc83d View commit details
    Browse the repository at this point in the history

Commits on Feb 28, 2022

  1. Updating docs

    izaaklauer committed Feb 28, 2022
    Configuration menu
    Copy the full SHA
    e096631 View commit details
    Browse the repository at this point in the history