Skip to content

Comments

(PDB-5466) Allow database config passwords to be INI integers#3649

Closed
stelcodes wants to merge 2 commits intopuppetlabs:6.xfrom
stelcodes:pdb-5466
Closed

(PDB-5466) Allow database config passwords to be INI integers#3649
stelcodes wants to merge 2 commits intopuppetlabs:6.xfrom
stelcodes:pdb-5466

Conversation

@stelcodes
Copy link
Contributor

@stelcodes stelcodes requested a review from a team as a code owner March 10, 2022 23:39
Adds clojure.lang.str as a type coercion function when trying to coerce
a value to java.lang.String
This allows the user to specify database passwords with unquoted numbers
in their PDB INI config. Previously this would throw a fatal exception
because our input schema expected only strings. Now our input schema
expects a string or an integer for database password and
migrator-password.
@stelcodes
Copy link
Contributor Author

We are not going to merge this patch because the translation from integer to string may be lossy (ex +100 -> "100")

@stelcodes stelcodes closed this Apr 13, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant