Skip to content

Commit

Permalink
fix clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
SteveL-MSFT committed Dec 3, 2024
1 parent 37626ee commit 0bc0957
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dsc/src/subcommand.rs
Original file line number Diff line number Diff line change
Expand Up @@ -563,7 +563,7 @@ fn list_resources(dsc: &mut DscManager, resource_name: Option<&String>, adapter_
// write as table if format is not specified and interactive
write_table = true;
}
for resource in dsc.list_available_resources(resource_name.unwrap_or(&String::from("*")), adapter_name.unwrap_or(&String::from(""))) {
for resource in dsc.list_available_resources(resource_name.unwrap_or(&String::from("*")), adapter_name.unwrap_or(&String::new())) {
let mut capabilities = "--------".to_string();
let capability_types = [
(Capability::Get, "g"),
Expand Down

0 comments on commit 0bc0957

Please sign in to comment.