Skip to content

Commit 17184fb

Browse files
committed
fix: new endpoint to fetch lifecycle controller status for dells
Signed-off-by: Krish Dandiwala <kdandiwala@nvidia.com>
1 parent 0fe2273 commit 17184fb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/dell.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2176,9 +2176,9 @@ impl Bmc {
21762176
}
21772177

21782178
async fn get_lifecycle_controller_status(&self) -> Result<String, RedfishError> {
2179+
let manager_id = self.s.manager_id();
21792180
let url = format!(
2180-
"Dell/Managers/{}/DellLCService/Actions/DellLCService.GetRemoteServicesAPIStatus",
2181-
self.s.manager_id()
2181+
"Managers/{manager_id}/Oem/Dell/DellLCService/Actions/DellLCService.GetRemoteServicesAPIStatus"
21822182
);
21832183
let arg: HashMap<&'static str, Value> = HashMap::new();
21842184
let (_status_code, resp_body, _resp_headers): (

0 commit comments

Comments
 (0)