Skip to content

Commit

Permalink
Replace valkey in log and panic messages (#550)
Browse files Browse the repository at this point in the history
Part of #207

---------

Signed-off-by: Shivshankar-Reddy <[email protected]>
  • Loading branch information
Shivshankar-Reddy authored Jun 4, 2024
1 parent 0700c44 commit 9319f7a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/cluster_legacy.c
Original file line number Diff line number Diff line change
Expand Up @@ -543,7 +543,7 @@ int clusterLoadConfig(char *filename) {
} else if (!strcasecmp(s, "noflags")) {
/* nothing to do */
} else {
serverPanic("Unknown flag in redis cluster config file");
serverPanic("Unknown flag in %s cluster config file", SERVER_TITLE);
}
if (p) s = p + 1;
}
Expand Down
7 changes: 3 additions & 4 deletions src/rdb.c
Original file line number Diff line number Diff line change
Expand Up @@ -3021,10 +3021,9 @@ int rdbLoadRioWithLoadingCtx(rio *rdb, int rdbflags, rdbSaveInfo *rsi, rdbLoadin
if ((dbid = rdbLoadLen(rdb, NULL)) == RDB_LENERR) goto eoferr;
if (dbid >= (unsigned)server.dbnum) {
serverLog(LL_WARNING,
"FATAL: Data file was created with a Redis "
"server configured to handle more than %d "
"databases. Exiting\n",
server.dbnum);
"FATAL: Data file was created with a %s server configured to handle "
"more than %d databases. Exiting\n",
SERVER_TITLE, server.dbnum);
exit(1);
}
db = rdb_loading_ctx->dbarray + dbid;
Expand Down

0 comments on commit 9319f7a

Please sign in to comment.