2
0
mirror of https://opendev.org/x/pyghmi synced 2025-01-27 19:37:44 +00:00

Fix incorrect HD path

If HD was mounted without CD, it was incorrectly
referring to CD path information.

Change-Id: Ifa6e1fb4db60afc1b9b2d67054fe4102809f7643
This commit is contained in:
Jarrod Johnson 2019-12-04 13:52:05 -05:00
parent de25adb4f1
commit 1c50fcbcfe

View File

@ -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: