Skip to content

Commit a35ba7a

Browse files
SteveL-MSFTSteve Lee (POWERSHELL HE/HIM) (from Dev Box)
authored andcommitted
fix clippy
1 parent a58d099 commit a35ba7a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dsc/src/subcommand.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -496,7 +496,7 @@ pub fn validate_config(config: &Configuration, progress_format: ProgressFormat)
496496
let Some(type_name) = resource_block["type"].as_str() else {
497497
return Err(DscError::Validation(t!("subcommand.resourceTypeNotSpecified").to_string()));
498498
};
499-
resource_types.push(DiscoveryFilter::new(&type_name, resource_block["api_version"].as_str().map(std::string::ToString::to_string)));
499+
resource_types.push(DiscoveryFilter::new(type_name, resource_block["api_version"].as_str().map(std::string::ToString::to_string)));
500500
}
501501
dsc.find_resources(&resource_types, progress_format);
502502

0 commit comments

Comments
 (0)