28 lines
989 B
Diff
28 lines
989 B
Diff
From c486f1c60dbf56fc174f3c488484fc6e0a8b903d Mon Sep 17 00:00:00 2001
|
|
From: chenjiayi <chenjiayi22@huawei.com>
|
|
Date: Wed, 17 Apr 2024 18:52:58 +0800
|
|
Subject: [PATCH 3/3] fix(devmaster): supply log messages on loading .link
|
|
config files
|
|
|
|
Supply missed log messages.
|
|
---
|
|
exts/devmaster/src/lib/config/netif_conf.rs | 2 ++
|
|
1 file changed, 2 insertions(+)
|
|
|
|
diff --git a/exts/devmaster/src/lib/config/netif_conf.rs b/exts/devmaster/src/lib/config/netif_conf.rs
|
|
index 9c593902..44ae7f72 100644
|
|
--- a/exts/devmaster/src/lib/config/netif_conf.rs
|
|
+++ b/exts/devmaster/src/lib/config/netif_conf.rs
|
|
@@ -132,6 +132,8 @@ impl NetifConfigCtx {
|
|
if name.ends_with(".link") {
|
|
let conf_path = dir_path.join(&name);
|
|
|
|
+ log::debug!("loading .link config: {:?}", conf_path);
|
|
+
|
|
let s = match std::fs::read_to_string(&conf_path) {
|
|
Ok(content) => content,
|
|
Err(e) => {
|
|
--
|
|
2.33.0
|
|
|