From 1c50fcbcfe0a8dd897054d57ac888c7aa5ae1e5c Mon Sep 17 00:00:00 2001 From: Jarrod Johnson Date: Wed, 4 Dec 2019 13:52:05 -0500 Subject: [PATCH] Fix incorrect HD path If HD was mounted without CD, it was incorrectly referring to CD path information. Change-Id: Ifa6e1fb4db60afc1b9b2d67054fe4102809f7643 --- pyghmi/redfish/oem/lenovo/tsma.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pyghmi/redfish/oem/lenovo/tsma.py b/pyghmi/redfish/oem/lenovo/tsma.py index d0540d05..11d6fffa 100644 --- a/pyghmi/redfish/oem/lenovo/tsma.py +++ b/pyghmi/redfish/oem/lenovo/tsma.py @@ -507,8 +507,8 @@ class TsmHandler(generic.OEMHandler): hdproto = cdproto else: hds = rsp['hd_remote_server_address'] - hdpath = rsp['cd_remote_source_path'] - hdproto = rsp['cd_remote_share_type'] + hdpath = rsp['hd_remote_source_path'] + hdproto = rsp['hd_remote_share_type'] slots = wc.grab_json_response('/api/settings/media/remote/configurations') for slot in slots: if slot['redirection_status'] == 1: