mirror of
https://github.com/xcat2/confluent.git
synced 2025-02-12 00:30:33 +00:00
Fix inability to delete a completed servicedata event
This commit is contained in:
parent
91caf76cae
commit
f9846cb564
@ -138,7 +138,7 @@ class Updater(object):
|
||||
|
||||
|
||||
def remove_updates(nodes, tenant, element, type='firmware'):
|
||||
if len(element) < 5 and element[:2] != ['media', 'uploads']:
|
||||
if len(element) < 5 and element[:2] not in (['media', 'uploads'], ['support', 'servicedata']):
|
||||
raise exc.InvalidArgumentException()
|
||||
upid = element[-1]
|
||||
if type == 'firmware':
|
||||
|
Loading…
x
Reference in New Issue
Block a user