diff --git a/pyghmi/redfish/command.py b/pyghmi/redfish/command.py index 967b1132..b7f8ced0 100644 --- a/pyghmi/redfish/command.py +++ b/pyghmi/redfish/command.py @@ -850,7 +850,7 @@ class Command(object): rc = bmcinfo.get('Actions', {}).get('#Manager.ResetToDefaults', {}) actinf = rc.get('ResetType@Redfish.AllowableValues', []) if 'ResetAll' in actinf: - acturl = actinf.get('target', None) + acturl = rc.get('target', None) if acturl: self._do_web_request(acturl, {'ResetType': 'ResetAll'}) return