Skip to content

Commit

Permalink
Merge pull request #51519 from xiaolei565/xuelei_dev
Browse files Browse the repository at this point in the history
fix storage policy prompt display error
  • Loading branch information
evillique committed Jul 7, 2023
2 parents 8da8b79 + 5f523e8 commit e20ae34
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Disks/StoragePolicy.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -304,7 +304,7 @@ void StoragePolicy::checkCompatibleWith(const StoragePolicyPtr & new_storage_pol
if (!new_volume_names.contains(volume->getName()))
throw Exception(
ErrorCodes::BAD_ARGUMENTS,
"New storage policy {} shall contain volumes of old one ({})",
"New storage policy {} shall contain volumes of the old storage policy {}",
backQuote(new_storage_policy->getName()),
backQuote(name));

Expand All @@ -316,7 +316,7 @@ void StoragePolicy::checkCompatibleWith(const StoragePolicyPtr & new_storage_pol
if (!new_disk_names.contains(disk->getName()))
throw Exception(
ErrorCodes::BAD_ARGUMENTS,
"New storage policy {} shall contain disks of old one ({})",
"New storage policy {} shall contain disks of the old storage policy {}",
backQuote(new_storage_policy->getName()),
backQuote(name));
}
Expand Down

0 comments on commit e20ae34

Please sign in to comment.