From 68ca493b3bf08e71225021838f0f2b6d3bf91559 Mon Sep 17 00:00:00 2001 From: "Joshua M. Boniface" Date: Fri, 26 Jul 2019 20:53:01 -0400 Subject: [PATCH] Fix bad error code --- node-daemon/pvcd/VMInstance.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/node-daemon/pvcd/VMInstance.py b/node-daemon/pvcd/VMInstance.py index 1aaf29b6..836ab17b 100644 --- a/node-daemon/pvcd/VMInstance.py +++ b/node-daemon/pvcd/VMInstance.py @@ -114,7 +114,7 @@ class VMInstance(object): # Push the change up to Zookeeper zkhandler.writedata(self.zk_conn, { '/nodes/{}/runningdomains'.format(self.this_node.name): ' '.join(self.this_node.domain_list) }) except Exception as e: - self.logger.out('Error adding domain to list: {}'.format(e), state='c') + self.logger.out('Error adding domain to list: {}'.format(e), state='e') def removeDomainFromList(self): if self.domuuid in self.this_node.domain_list: @@ -124,7 +124,7 @@ class VMInstance(object): # Push the change up to Zookeeper zkhandler.writedata(self.zk_conn, { '/nodes/{}/runningdomains'.format(self.this_node.name): ' '.join(self.this_node.domain_list) }) except Exception as e: - self.logger.out('Error removing domain from list: {}'.format(e), state='c') + self.logger.out('Error removing domain from list: {}'.format(e), state='e') # Start up the VM def start_vm(self):