-
Notifications
You must be signed in to change notification settings - Fork 75
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Previously, some places assumed there was a URI, other places only looked at individual `valueOrValueFrom` combinations, and `schemahero shell db-that-uses-values` would die with a mysterious error. This harmonizes those pathways, which should also allow shell for AWS SSM to start to work It also fixes the bug where the code was blindly dereferencing the `map[string]string` instead of returning an `error` about that circumstance, leading to opaque errors such as ``` failed to plan sync: failed to connect to postgres: failed to connect to postgres: failed to connect to `host=172.17.0.6 user=postgres database=postgres`: server error (FATAL: password authentication failed for user "postgres" (SQLSTATE 28P01)) ``` as it just uses the empty string for a missing key Signed-off-by: Matthew L Daniel <md@stoi.cc>
- Loading branch information
1 parent
021110d
commit 0e6756b
Showing
5 changed files
with
46 additions
and
72 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters