Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

set_blockdev_user_info:use Name type for pool_name #3569

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/engine/engine.rs
Original file line number Diff line number Diff line change
Expand Up @@ -286,7 +286,7 @@ pub trait Pool: Debug + Send + Sync {
/// by the uuid.
fn set_blockdev_user_info(
&mut self,
pool_name: &str,
pool_name: &Name,
uuid: DevUuid,
user_info: Option<&str>,
) -> StratisResult<RenameAction<DevUuid>>;
Expand Down
2 changes: 1 addition & 1 deletion src/engine/sim_engine/pool.rs
Original file line number Diff line number Diff line change
Expand Up @@ -654,7 +654,7 @@ impl Pool for SimPool {

fn set_blockdev_user_info(
&mut self,
_pool_name: &str,
_pool_name: &Name,
uuid: DevUuid,
user_info: Option<&str>,
) -> StratisResult<RenameAction<DevUuid>> {
Expand Down
2 changes: 1 addition & 1 deletion src/engine/strat_engine/pool.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1151,7 +1151,7 @@ impl Pool for StratPool {
#[pool_mutating_action("NoRequests")]
fn set_blockdev_user_info(
&mut self,
pool_name: &str,
pool_name: &Name,
uuid: DevUuid,
user_info: Option<&str>,
) -> StratisResult<RenameAction<DevUuid>> {
Expand Down
Loading