Skip to content

Commit 72ca7e2

Browse files
author
Andrew
committed
debug-info
1 parent 13a1271 commit 72ca7e2

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

dsc_lib/src/discovery/command_discovery.rs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -540,7 +540,7 @@ fn add_resources_to_lookup_table(adapted_resources: &BTreeMap<String, Vec<DscRes
540540
if let Some(adapter_name) = &res_vec[0].require_adapter {
541541
lookup_table.insert(resource_name.to_string().to_lowercase(), adapter_name.to_string());
542542
} else {
543-
debug!("Resource '{resource_name}' in 'adapted_resources' is missing 'require_adapter' field.");
543+
info!("Resource '{resource_name}' in 'adapted_resources' is missing 'require_adapter' field.");
544544
}
545545
};
546546

@@ -557,16 +557,16 @@ fn save_adapted_resources_lookup_table(lookup_table: &HashMap<String, String>)
557557
if let Some(prefix) = path.parent() {
558558
if fs::create_dir_all(prefix).is_ok() {
559559
if fs::write(file_path.clone(), lookup_table_json).is_err() {
560-
debug!("Unable to write lookup_table file {file_path:?}");
560+
info!("Unable to write lookup_table file {file_path:?}");
561561
}
562562
} else {
563-
debug!("Unable to create parent directories of the lookup_table file {file_path:?}");
563+
info!("Unable to create parent directories of the lookup_table file {file_path:?}");
564564
}
565565
} else {
566-
debug!("Unable to get directory of the lookup_table file {file_path:?}");
566+
info!("Unable to get directory of the lookup_table file {file_path:?}");
567567
}
568568
} else {
569-
debug!("Unable to serialize lookup_table to json");
569+
info!("Unable to serialize lookup_table to json");
570570
}
571571
}
572572

0 commit comments

Comments
 (0)