Add KeyDB Pro info section
Former-commit-id: d73015fae36ece6db7b088cc55843385688b1866
This commit is contained in:
parent
64cfb6df62
commit
ede911d65d
@ -5095,6 +5095,16 @@ sds genRedisInfoString(const char *section) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (allsections || defsections || !strcasecmp(section,"keydb")) {
|
||||||
|
if (sections++) info = sdscat(info,"\r\n");
|
||||||
|
info = sdscatprintf(info,
|
||||||
|
"# KeyDB\r\n"
|
||||||
|
"variant:pro\r\n"
|
||||||
|
"license_status:%s\r\n",
|
||||||
|
cserver.license_key ? "OK" : "Trial"
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
/* Get info from modules.
|
/* Get info from modules.
|
||||||
* if user asked for "everything" or "modules", or a specific section
|
* if user asked for "everything" or "modules", or a specific section
|
||||||
* that's not found yet. */
|
* that's not found yet. */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user