mirror of
https://github.com/GreptimeTeam/greptimedb.git
synced 2026-01-06 13:22:57 +00:00
refactor: avoid adding feature to parameter (#6391)
* refactor: avoid adding feature to parameter * avoid `cfg(not(feature = ...))` block
This commit is contained in:
@@ -6,14 +6,6 @@ license.workspace = true
|
||||
|
||||
[features]
|
||||
dashboard = []
|
||||
enterprise = [
|
||||
"cmd/enterprise",
|
||||
"common-meta/enterprise",
|
||||
"frontend/enterprise",
|
||||
"meta-srv/enterprise",
|
||||
"operator/enterprise",
|
||||
"sql/enterprise",
|
||||
]
|
||||
|
||||
[lints]
|
||||
workspace = true
|
||||
|
||||
@@ -228,8 +228,6 @@ impl GreptimeDbStandaloneBuilder {
|
||||
},
|
||||
procedure_manager.clone(),
|
||||
register_procedure_loaders,
|
||||
#[cfg(feature = "enterprise")]
|
||||
None,
|
||||
)
|
||||
.unwrap(),
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user