Skip to content

Commit

Permalink
Failure to create a postgres integration should not be labelled as a …
Browse files Browse the repository at this point in the history
…mongodb error (#203)
  • Loading branch information
ncabatoff authored Dec 10, 2024
1 parent 24538d9 commit c83f079
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .changelog/203.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
```release-note:bug
vault-secrets: corrected error output for postgres integration creation, MongoDB Atlas -> Postgres.
```
2 changes: 1 addition & 1 deletion internal/commands/vaultsecrets/integrations/create.go
Original file line number Diff line number Diff line change
Expand Up @@ -271,7 +271,7 @@ func createRun(opts *CreateOpts) error {

_, err = opts.Client.CreatePostgresIntegration(req, nil)
if err != nil {
return fmt.Errorf("failed to create MongoDB Atlas integration: %w", err)
return fmt.Errorf("failed to create Postgres integration: %w", err)
}

default:
Expand Down

0 comments on commit c83f079

Please sign in to comment.