diff options
author | shmel1k <shmel1k@ydb.tech> | 2022-09-07 23:05:48 +0300 |
---|---|---|
committer | shmel1k <shmel1k@ydb.tech> | 2022-09-07 23:05:48 +0300 |
commit | a3cdc2d66fdcd7b608644f28fae07a9138b11bcf (patch) | |
tree | 79805c91b842fec4323fef7926905d905105c46c | |
parent | aa5f5d2726ffe4001064bcf7d3de82d2850d54b4 (diff) | |
download | ydb-a3cdc2d66fdcd7b608644f28fae07a9138b11bcf.tar.gz |
[] fix metering mode alter
-rw-r--r-- | ydb/public/lib/ydb_cli/commands/ydb_service_topic.cpp | 2 |
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; } |