2
0
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:
Jarrod Johnson 2021-08-05 08:31:13 -04:00
parent 91caf76cae
commit f9846cb564

View File

@ -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':