Closed decarv closed 4 months ago
@decarv Can you work on this ?
Sure! I plan to open a PR soon that should close #403 and this issue. But this issue should be a quick fix and thus quicker to review. I will work on it.
See if it worth to split the patch into the separate issue.
Otherwise, just reference both issues in the commit message
@jesperpedersen Splitting the patch was impractical.
I just referenced both issues.
That is quite ok
Close via 11a1f47
Describe the bug
Deprecated
pgagroal-cli
commands should still execute the corresponding new commands, but this is not true forconfig-get
andconfig-set
.To Reproduce
Run in the terminal the commands and get the error message
unknown command config-get
.Version
pgagroal-cli 1.7.0
Diagnosis
Neither
config_key
orconfig_value
are ever passed toparse_deprecated_command
, thus being impossible to parse these values. This function needs to be modified.