From f309964ae6101b94b2dd3c90f6e363e175685301 Mon Sep 17 00:00:00 2001
From: chenjiayi <chenjiayi22@huawei.com>
Date: Fri, 3 Nov 2023 01:11:39 +0800
Subject: [PATCH 027/103] fix(devmaster): fix misspelt sysattr sas_address

The 'sas_address' attribte is misspelt.
---
 exts/devmaster/src/lib/builtin/path_id.rs | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/exts/devmaster/src/lib/builtin/path_id.rs b/exts/devmaster/src/lib/builtin/path_id.rs
index ecd730f8..303b7528 100644
--- a/exts/devmaster/src/lib/builtin/path_id.rs
+++ b/exts/devmaster/src/lib/builtin/path_id.rs
@@ -390,7 +390,7 @@ impl PathId {
             Err(_) => return None,
         };
 
-        let sas_address = match asadev.get_sysattr_value("asa_address") {
+        let sas_address = match asadev.get_sysattr_value("sas_address") {
             Ok(addr) => addr,
             Err(_) => return None,
         };
@@ -430,7 +430,7 @@ impl PathId {
             Err(_) => return None,
         };
 
-        let target = match sessiondev.get_sysattr_value("asa_address") {
+        let target = match sessiondev.get_sysattr_value("sas_address") {
             Ok(port) => port,
             Err(_) => return None,
         };
-- 
2.33.0

