aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorshmel1k <shmel1k@ydb.tech>2022-09-07 23:05:48 +0300
committershmel1k <shmel1k@ydb.tech>2022-09-07 23:05:48 +0300
commita3cdc2d66fdcd7b608644f28fae07a9138b11bcf (patch)
tree79805c91b842fec4323fef7926905d905105c46c
parentaa5f5d2726ffe4001064bcf7d3de82d2850d54b4 (diff)
downloadydb-a3cdc2d66fdcd7b608644f28fae07a9138b11bcf.tar.gz
[] fix metering mode alter
-rw-r--r--ydb/public/lib/ydb_cli/commands/ydb_service_topic.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/ydb/public/lib/ydb_cli/commands/ydb_service_topic.cpp b/ydb/public/lib/ydb_cli/commands/ydb_service_topic.cpp
index 25be32e94e..0ff3db06e7 100644
--- a/ydb/public/lib/ydb_cli/commands/ydb_service_topic.cpp
+++ b/ydb/public/lib/ydb_cli/commands/ydb_service_topic.cpp
@@ -281,7 +281,7 @@ namespace NYdb::NConsoleClient {
int TCommandTopicAlter::Run(TConfig& config) {
if (!PartitionsCount_.Defined() && GetCodecs().empty() && !RetentionPeriodHours_.Defined() && !PartitionWriteSpeedKbps_.Defined() &&
- GetMeteringMode() != NTopic::EMeteringMode::Unspecified) {
+ GetMeteringMode() == NTopic::EMeteringMode::Unspecified) {
return EXIT_SUCCESS;
}