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

Return debuggable CAS errors on consul state put #33108

Merged
merged 4 commits into from
Jun 30, 2023
Merged

Commits on Apr 27, 2023

  1. Return debuggeble CAS errors on consul state put

    ran into this error while running terraform on a container and saving state to Consul. I suspect my policy needs tweaking but it's impossible to tell with an error like this:
    
    ```
    ╷
    │ Error: Failed to save state
    │ 
    │ Error saving state: consul CAS failed with transaction errors:
    │ [0xc0006e93c8]
    ╵
    ```
    
    This PR makes the will include the error messaage in the details so I can continue debugging
    unRob committed Apr 27, 2023
    Configuration menu
    Copy the full SHA
    0dda1d5 View commit details
    Browse the repository at this point in the history
  2. fix breaking code

    this is what i get for submitting PRs late at night
    unRob committed Apr 27, 2023
    Configuration menu
    Copy the full SHA
    1b7f772 View commit details
    Browse the repository at this point in the history

Commits on Jun 24, 2023

  1. use go-multierror instead of manually joining error reasons

    Co-authored-by: Chris Thain <32781396+cthain@users.noreply.github.com>
    unRob and cthain committed Jun 24, 2023
    Configuration menu
    Copy the full SHA
    787cc69 View commit details
    Browse the repository at this point in the history

Commits on Jun 26, 2023

  1. use multierror.Append instead of append

    Co-authored-by: Chris Thain <32781396+cthain@users.noreply.github.com>
    unRob and cthain committed Jun 26, 2023
    Configuration menu
    Copy the full SHA
    8e5a66b View commit details
    Browse the repository at this point in the history