Specify wildcard etag during set_bootdevice
The request is sufficiently specific that we do not care about the larger state of the resource. Explicitly declare this by indicating a wildcard etag. Change-Id: Ie0529ffea63516bf025f4ce146e39df40bcc768d
This commit is contained in:
parent
14652e8d84
commit
bb46b94eab
|
@ -185,9 +185,9 @@ class OEMHandler(object):
|
|||
return {'bootdev': reqbootdev}
|
||||
except Exception:
|
||||
del payload['BootSourceOverrideMode']
|
||||
thetag = fishclient.sysinfo.get('@odata.etag', None)
|
||||
#thetag = fishclient.sysinfo.get('@odata.etag', None)
|
||||
fishclient._do_web_request(fishclient.sysurl, payload, method='PATCH',
|
||||
etag=thetag)
|
||||
etag='*') # thetag)
|
||||
return {'bootdev': reqbootdev}
|
||||
|
||||
def _get_cache(self, url):
|
||||
|
|
Loading…
Reference in New Issue