Convert VMConsole... to new ZK schema handler
This commit is contained in:
parent
450bf6b153
commit
2704badfbe
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue