Fix compile warning in redis-cli.c

This commit is contained in:
zhaozhao.zz 2019-03-13 16:54:34 +08:00
parent fb81d1b3f8
commit 5a3d3d8be4

View File

@ -2726,7 +2726,7 @@ static sds clusterManagerNodeGetJSON(clusterManagerNode *node,
slots,
node->slots_count,
flags,
node->current_epoch
(unsigned long long)node->current_epoch
);
if (error_count > 0) {
json = sdscatprintf(json, ",\n \"cluster_errors\": %lu",