This commit is contained in:
Mike Raineri 2025-03-29 22:48:26 +01:00 committed by GitHub
commit 696988d8c3
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 7 additions and 0 deletions

View file

@ -2814,6 +2814,11 @@ class RedfishUtils(object):
if (not data.get('Inserted', False) and
not data.get('ImageName')):
return uri, data
# WORKAROUND
# Supermicro systems do not properly clear out ImageName when media is ejected
if vendor == 'Supermicro':
if data.get('ConnectedVia') == 'NotConnected':
return uri, data
return None, None
@staticmethod