From 23a1923d6ef767e1f49a18129e515a67bf4ff70c Mon Sep 17 00:00:00 2001
From: chenjiayi <chenjiayi22@huawei.com>
Date: Tue, 14 Nov 2023 22:35:01 +0800
Subject: [PATCH 060/103] fix(device): cleanup temporary tag files

Also make a tiny change to optimize the doc conmments.
---
 libs/device/src/device.rs | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/libs/device/src/device.rs b/libs/device/src/device.rs
index 6a43be82..70070c72 100644
--- a/libs/device/src/device.rs
+++ b/libs/device/src/device.rs
@@ -2774,7 +2774,7 @@ impl Device {
     }
 
     /// Return the devlink iterator
-    /// 
+    ///
     /// The device object will try to load devlinks from db firstly.
     pub fn devlink_iter(&self) -> HashSetRefWrapper<String> {
         let _ = self.read_db();
@@ -3452,6 +3452,8 @@ mod tests {
 
             dev.cleanup_tags();
 
+            fs::remove_dir_all("/tmp/devmaster").unwrap();
+
             Ok(())
         }
 
-- 
2.33.0

