mirror of
https://opendev.org/x/pyghmi
synced 2025-01-28 11:57:34 +00:00
Change acknowledgement_timeout to acknowledge_timeout
Change return value key for get operation to match the name used in the set operation. Change-Id: Ie53910e3049618475478df2ebc93edf465d6b0e3
This commit is contained in:
parent
c2238a8587
commit
e3a077a853
@ -798,7 +798,7 @@ class Command(object):
|
||||
configuration. The following keys may be present:
|
||||
acknowledge_required - Indicates whether the target expects an
|
||||
acknowledgement
|
||||
acknowledgement_timeout - How long it will wait for an acknowledgment
|
||||
acknowledge_timeout - How long it will wait for an acknowledgment
|
||||
before retrying
|
||||
retries - How many attempts will be made to deliver the alert to this
|
||||
destination
|
||||
@ -817,7 +817,7 @@ class Command(object):
|
||||
destinfo['acknowledge_required'] = dtype & 0b10000000 == 0b10000000
|
||||
# Ignore destination type for now...
|
||||
if destinfo['acknowledge_required']:
|
||||
destinfo['acknowledgement_timeout'] = acktimeout
|
||||
destinfo['acknowledge_timeout'] = acktimeout
|
||||
destinfo['retries'] = retries
|
||||
rqdata = (channel, 19, destination, 0)
|
||||
rsp = self.xraw_command(netfn=0xc, command=2, data=rqdata)
|
||||
|
Loading…
x
Reference in New Issue
Block a user