Skip to content

Commit

Permalink
[#18592] DocDB: Fix log message format in WritePostgresConfig
Browse files Browse the repository at this point in the history
Summary:
WritePostgresConfig function uses %s in the format string instead of $0.

Fixes #18592
Jira: DB-7523

Test Plan: All jenkins tests

Reviewers: dsrinivasan

Reviewed By: dsrinivasan

Subscribers: yql, ybase

Differential Revision: https://phorge.dev.yugabyte.com/D27599
  • Loading branch information
hari90 committed Aug 9, 2023
1 parent 1bffbde commit 395c517
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/yb/yql/pgwrapper/pg_wrapper.cc
Original file line number Diff line number Diff line change
Expand Up @@ -383,7 +383,7 @@ Result<string> WritePostgresConfig(const PgProcessConf& conf) {
if (!conf_file) {
return STATUS_FORMAT(
IOError,
"Failed to read default postgres configuration '%s': errno=$0: $1",
"Failed to read default postgres configuration '$0': errno=$1: $2",
default_conf_path,
errno,
ErrnoToString(errno));
Expand Down

0 comments on commit 395c517

Please sign in to comment.