Streams: fix TYPE for stream type.

This commit is contained in:
antirez 2017-11-08 22:57:10 +01:00
parent 1898c50573
commit 671b1f6a9d

View File

@ -798,6 +798,7 @@ void typeCommand(client *c) {
case OBJ_SET: type = "set"; break;
case OBJ_ZSET: type = "zset"; break;
case OBJ_HASH: type = "hash"; break;
case OBJ_STREAM: type = "stream"; break;
case OBJ_MODULE: {
moduleValue *mv = o->ptr;
type = mv->type->name;