File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
ydb/public/lib/ydb_cli/commands Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -164,9 +164,9 @@ int TCommandStorageConfigReplace::Run(TConfig& config) {
164
164
auto client = NYdb::NConfig::TConfigClient (*driver);
165
165
166
166
auto status = [&]() {
167
- if (SwitchDedicatedStorageSection && *SwitchDedicatedStorageSection) {
167
+ if (SwitchDedicatedStorageSection && ! *SwitchDedicatedStorageSection) {
168
168
return client.ReplaceConfigDisableDedicatedStorageSection (ClusterYaml.value ()).GetValueSync ();
169
- } else if (SwitchDedicatedStorageSection && ! *SwitchDedicatedStorageSection) {
169
+ } else if (SwitchDedicatedStorageSection && *SwitchDedicatedStorageSection) {
170
170
return client.ReplaceConfigEnableDedicatedStorageSection (ClusterYaml.value (), StorageYaml.value ()).GetValueSync ();
171
171
} else if (DedicatedConfigMode) {
172
172
return client.ReplaceConfig (ClusterYaml.value (), StorageYaml.value ()).GetValueSync ();
You can’t perform that action at this time.
0 commit comments