[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 GitHub
parent cdb7293491
commit 2f3f28691a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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