Clean up no-conf server warning for sentinel mode (#8769)
This commit is contained in:
parent
8133b72268
commit
05bc6b8679
@ -6302,7 +6302,7 @@ int main(int argc, char **argv) {
|
|||||||
(int)getpid());
|
(int)getpid());
|
||||||
|
|
||||||
if (argc == 1) {
|
if (argc == 1) {
|
||||||
serverLog(LL_WARNING, "Warning: no config file specified, using the default config. In order to specify a config file use %s /path/to/%s.conf", argv[0], server.sentinel_mode ? "sentinel" : "redis");
|
serverLog(LL_WARNING, "Warning: no config file specified, using the default config. In order to specify a config file use %s /path/to/redis.conf", argv[0]);
|
||||||
} else {
|
} else {
|
||||||
serverLog(LL_WARNING, "Configuration loaded");
|
serverLog(LL_WARNING, "Configuration loaded");
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user