2
0
mirror of https://github.com/xcat2/confluent.git synced 2025-01-17 21:23:18 +00:00

Fix encoded string problem in InputNTPServer

This commit is contained in:
Juliana Motira 2015-10-13 15:49:47 -03:00
parent 99d1edcdef
commit 2245e53ff1

View File

@ -655,7 +655,7 @@ class InputNTPServer(ConfluentInputMessage):
raise exc.InvalidArgumentException(
'This only supports per-node input')
for node in nodes:
self.inputbynode[node] = inputdata['server']
self.inputbynode[node] = str(inputdata['server'])
def ntp_server(self, node):
return self.inputbynode[node]