Skip to content

Commit

Permalink
Allow skipping service set in blobstorage configuration (ydb-platform…
Browse files Browse the repository at this point in the history
  • Loading branch information
alexvru authored Jun 27, 2024
1 parent 139874f commit 27ff0b3
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion ydb/library/yaml_config/yaml_config_parser.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -946,7 +946,9 @@ namespace NKikimr::NYaml {
}

auto* bsConfig = config.MutableBlobStorageConfig();
Y_ENSURE_BT(bsConfig->HasServiceSet(), "service_set field in blob_storage_config must be json map.");
if (!bsConfig->HasServiceSet()) {
return;
}

auto* serviceSet = bsConfig->MutableServiceSet();
if (!serviceSet->AvailabilityDomainsSize()) {
Expand Down

0 comments on commit 27ff0b3

Please sign in to comment.