diff --git a/src/server/cluster/cluster_family.cc b/src/server/cluster/cluster_family.cc index e7ba2f4e088e..756d09368260 100644 --- a/src/server/cluster/cluster_family.cc +++ b/src/server/cluster/cluster_family.cc @@ -401,7 +401,7 @@ void ClusterFamily::ReadWrite(CmdArgList args, ConnectionContext* cntx) { } void ClusterFamily::DflyCluster(CmdArgList args, ConnectionContext* cntx) { - if (!IsClusterEnabledOrEmulated()) { + if (!IsClusterEnabled()) { return cntx->SendError(kClusterDisabled); }