Make CONFIG GET OOM-score-adj-values case insensitive. (#9114)

This commit is contained in:
Binbin 2021-06-20 17:32:02 +08:00 committed by GitHub
parent 4c52aa9faa
commit 1fabb89a41
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1072,7 +1072,7 @@ void configGetCommand(client *c) {
matches++;
}
if (stringmatch(pattern,"oom-score-adj-values",0)) {
if (stringmatch(pattern,"oom-score-adj-values",1)) {
sds buf = sdsempty();
int j;