Skip to content

Commit

Permalink
Merge branch 'redfish_config_update' of https://github.com/Gayathirid…
Browse files Browse the repository at this point in the history
…eviramasamy/community.general into redfish_config_update
  • Loading branch information
TSKushalHPE committed Jan 30, 2023
2 parents 2ae954d + d961d57 commit 423481a
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions plugins/module_utils/redfish_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -3170,9 +3170,4 @@ def enable_secure_boot(self):
body = {}
body["SecureBootEnable"] = True

response = self.patch_request(self.root_uri + secure_boot_url, body, check_pyld=True)

if response["ret"] is False:
return response

return response
return self.patch_request(self.root_uri + secure_boot_url, body, check_pyld=True)

0 comments on commit 423481a

Please sign in to comment.