Convert VMConsole... to new ZK schema handler

This commit is contained in:
Joshua Boniface 2021-06-09 22:08:32 -04:00
parent 450bf6b153
commit 2704badfbe
1 changed files with 1 additions and 1 deletions

View File

@ -92,7 +92,7 @@ class VMConsoleWatcherInstance(object):
# Update Zookeeper with the new loglines if they changed # Update Zookeeper with the new loglines if they changed
if self.loglines != self.last_loglines: if self.loglines != self.last_loglines:
self.zkhandler.write([ self.zkhandler.write([
('/domains/{}/consolelog'.format(self.domuuid), self.loglines) (('domain.console.log', self.domuuid), self.loglines)
]) ])
self.last_loglines = self.loglines self.last_loglines = self.loglines