Skip to content

Commit d99ebae

Browse files
committed
impl pr feedback
1 parent 9c89f0e commit d99ebae

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

kernel/src/transaction/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -303,7 +303,7 @@ impl Transaction {
303303
for domain_metadata in domain_metadatas {
304304
if domain_metadata.is_internal() {
305305
return Err(Error::Generic(
306-
"Users cannot modify system controlled metadata domains".to_string(),
306+
"Cannot modify domains that start with 'delta.' as those are system controlled".to_string(),
307307
));
308308
}
309309
if !domains.insert(domain_metadata.domain()) {

kernel/tests/write.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1291,7 +1291,7 @@ async fn test_set_domain_metadata_errors() -> Result<(), Box<dyn std::error::Err
12911291
.commit(&engine);
12921292
assert_result_error_with_message(
12931293
res,
1294-
"Users cannot modify system controlled metadata domains",
1294+
"Cannot modify domains that start with 'delta.' as those are system controlled",
12951295
);
12961296

12971297
// Duplicate domain rejection

0 commit comments

Comments
 (0)