Skip to content

Commit

Permalink
chore: modify comments
Browse files Browse the repository at this point in the history
  • Loading branch information
shuiyisong committed Oct 8, 2023
1 parent ab70f60 commit 1cd4af2
Show file tree
Hide file tree
Showing 5 changed files with 2 additions and 8 deletions.
2 changes: 0 additions & 2 deletions src/auth/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@ version.workspace = true
edition.workspace = true
license.workspace = true

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[features]
default = []
testing = []
Expand Down
2 changes: 0 additions & 2 deletions src/frontend/src/instance.rs
Original file line number Diff line number Diff line change
Expand Up @@ -122,8 +122,6 @@ pub struct Instance {
script_executor: Arc<ScriptExecutor>,
statement_executor: Arc<StatementExecutor>,
query_engine: QueryEngineRef,
/// plugins: this map holds extensions to customize query or auth
/// behaviours.
plugins: PluginsRef,
servers: Arc<ServerHandlers>,
heartbeat_task: Option<HeartbeatTask>,
Expand Down
2 changes: 0 additions & 2 deletions src/partition/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@ version.workspace = true
edition.workspace = true
license.workspace = true

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
api = { workspace = true }
async-trait = "0.1"
Expand Down
2 changes: 0 additions & 2 deletions src/plugins/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@ version.workspace = true
edition.workspace = true
license.workspace = true

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
auth.workspace = true
common-base.workspace = true
Expand Down
2 changes: 2 additions & 0 deletions src/plugins/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ pub use datanode::{setup_datanode_plugins, start_datanode_plugins};
pub use frontend::{setup_frontend_plugins, start_frontend_plugins};
pub use meta_srv::{setup_meta_srv_plugins, start_meta_srv_plugins};

/// [`OptPlugins`] is a wrapper around [`PluginsRef`] and opts returned by setup functions.
/// T can be [`DatanodeOptions`], [`FrontendOptions`] or [`MetaSrvOptions`].
pub struct OptPlugins<T> {
pub opts: T,
pub plugins: PluginsRef,
Expand Down

0 comments on commit 1cd4af2

Please sign in to comment.