[devices]: Dell S6100 API 2.0 fix (#16363)

Why I did it
sonic-mgmt test failure is seen for update_firmware component API

Microsoft ADO: 25208748

How I did it
Edited API 2.0 to fix this issue.

How to verify it
Run sonic-mgmt test after the fix and verify it passes.
This commit is contained in:
Aravind Mani 2023-09-19 22:54:05 +05:30 committed by Guohan Lu
parent 5281005304
commit d2fe62322e

View File

@ -321,3 +321,16 @@ class Component(ComponentBase):
A boolean, True if install was successful, False if not
"""
return False
def update_firmware(self,image_path):
"""
Updates firmware to the componenent
Args:
image_path: A string, path to firmware image
Returns:
A boolean, True if install was successful, False if not
"""
return False