Skip to content

Commit

Permalink
Redfish: add Multipart bool return value to FirmwareUpdateCapabilities
Browse files Browse the repository at this point in the history
Fixes #8194

Signed-off-by: Boris Glimcher <[email protected]>
  • Loading branch information
glimchb committed Apr 5, 2024
1 parent 13d0310 commit 77fd553
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
minor_changes:
- rredfish_inf - add boolean return value ``MultipartHttpPush`` to ``GetFirmwareUpdateCapabilities`` (https://github.com/ansible-collections/community.general/issues/8194).
2 changes: 2 additions & 0 deletions plugins/module_utils/redfish_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -1597,6 +1597,8 @@ def get_firmware_update_capabilities(self):

data = response['data']

result['multipart_supported'] = 'MultipartHttpPushUri' in data

if "Actions" in data:
actions = data['Actions']
if len(actions) > 0:
Expand Down

0 comments on commit 77fd553

Please sign in to comment.