From 3e93cb24344a4e54bb42beefcf6bf1c1afd5c9d8 Mon Sep 17 00:00:00 2001 From: Jarrod Johnson Date: Wed, 18 Oct 2017 10:58:17 -0400 Subject: [PATCH] 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. --- confluent_server/confluent/messages.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/confluent_server/confluent/messages.py b/confluent_server/confluent/messages.py index 62684dde..30ad9c13 100644 --- a/confluent_server/confluent/messages.py +++ b/confluent_server/confluent/messages.py @@ -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