From 1411b7f16f83f6d4ec616d1c659d498987b480df Mon Sep 17 00:00:00 2001 From: artikell <739609084@qq.com> Date: Thu, 25 Apr 2024 06:40:57 +0800 Subject: [PATCH] Update redis* to valkey* in server.c and module.c --- src/server.c | 2 +- src/tls.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/server.c b/src/server.c index 3fbbd8cead..0864ec7d4c 100644 --- a/src/server.c +++ b/src/server.c @@ -7052,7 +7052,7 @@ int main(int argc, char **argv) { exit(0); } else { fprintf(stderr,"Please specify the amount of memory to test in megabytes.\n"); - fprintf(stderr,"Example: ./redis-server --test-memory 4096\n\n"); + fprintf(stderr,"Example: ./valkey-server --test-memory 4096\n\n"); exit(1); } } if (strcmp(argv[1], "--check-system") == 0) { diff --git a/src/tls.c b/src/tls.c index ad35ca2c2f..956b4b67c3 100644 --- a/src/tls.c +++ b/src/tls.c @@ -1177,7 +1177,7 @@ int ValkeyModule_OnLoad(void *ctx, ValkeyModuleString **argv, int argc) { /* Connection modules must be part of the same build as the server. */ if (strcmp(REDIS_BUILD_ID_RAW, serverBuildIdRaw())) { - serverLog(LL_NOTICE, "Connection type %s was not built together with the redis-server used.", CONN_TYPE_TLS); + serverLog(LL_NOTICE, "Connection type %s was not built together with the valkey-server used.", CONN_TYPE_TLS); return VALKEYMODULE_ERR; }