Skip to content

Commit

Permalink
Update plugins/module_utils/redfish_utils.py
Browse files Browse the repository at this point in the history
Agreed

Co-authored-by: Mike Raineri <mraineri@gmail.com>
  • Loading branch information
TSKushal and mraineri committed Jan 30, 2023
1 parent ddc483c commit d961d57
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 d961d57

Please sign in to comment.