2
0
mirror of https://github.com/xcat2/confluent.git synced 2025-01-30 04:48:11 +00:00

Stub out strip_node for DeletedResource

This is only ever a URL at the moment.  Do not trigger stack
traces in firmware update by stubbing out the strip_node.
This commit is contained in:
Jarrod Johnson 2017-10-18 10:58:17 -04:00
parent ffaabd5ae3
commit 3e93cb2434

View File

@ -246,6 +246,9 @@ class DeletedResource(ConfluentMessage):
def __init__(self, resource):
self.kvpairs = {'deleted': resource}
def strip_node(self, node):
pass
class CreatedResource(ConfluentMessage):
notnode = True
readonly = True