-
-
Notifications
You must be signed in to change notification settings - Fork 51
Closed
Description
Minor typo.
The webadmin defines the datacenter property as ".ids.data-center"
webadmin/src/pages/config/schema/store.rs
Lines 387 to 393 in 8f097af
.typ(Type::Input) | |
.input_check([Transformer::Trim], [Validator::IsId]) | |
.new_field("ids.data-center") | |
.label("Data Center Id") | |
.help("Data center ID (optional)") | |
.placeholder("my-datacenter-id") | |
.build() |
The main code and documentation refers to the property as ".ids.datacenter"
if let Some(value) = config.property((&prefix, "ids.datacenter")) {
db.set_option(DatabaseOption::DatacenterId(value))
.map_err(|err| {
config.new_build_error(
(&prefix, "ids.datacenter"),
format!("Failed to set option: {err:?}"),
)
})
.ok()?;
}
Metadata
Metadata
Assignees
Labels
No labels