tape: change changer-drive-id to changer-drivenum
because it changed in the config Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
This commit is contained in:
committed by
Dietmar Maurer
parent
4be4736603
commit
627d000098
@ -224,7 +224,7 @@ pub fn update_drive(
|
||||
data.changer_drivenum = None;
|
||||
} else {
|
||||
if data.changer.is_none() {
|
||||
bail!("Option 'changer-drive-id' requires option 'changer'.");
|
||||
bail!("Option 'changer-drivenum' requires option 'changer'.");
|
||||
}
|
||||
data.changer_drivenum = Some(changer_drivenum);
|
||||
}
|
||||
|
@ -165,7 +165,7 @@ fn get_config(
|
||||
.column(ColumnConfig::new("name"))
|
||||
.column(ColumnConfig::new("path"))
|
||||
.column(ColumnConfig::new("changer"))
|
||||
.column(ColumnConfig::new("changer-drive-id"))
|
||||
.column(ColumnConfig::new("changer-drivenum"))
|
||||
;
|
||||
|
||||
format_and_print_result_full(&mut data, &info.returns, &output_format, &options);
|
||||
|
Reference in New Issue
Block a user