projects
/
ganeti-local
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'devel-2.4'
[ganeti-local]
/
lib
/
confd
/
querylib.py
diff --git
a/lib/confd/querylib.py
b/lib/confd/querylib.py
index
6a13a2b
..
e1e323f
100644
(file)
--- a/
lib/confd/querylib.py
+++ b/
lib/confd/querylib.py
@@
-50,7
+50,7
@@
class ConfdQuery(object):
"""
self.reader = reader
"""
self.reader = reader
- def Exec(self, query):
+ def Exec(self, query): # pylint: disable-msg=R0201,W0613
"""Process a single UDP request from a client.
Different queries should override this function, which by defaults returns
"""Process a single UDP request from a client.
Different queries should override this function, which by defaults returns
@@
-187,7
+187,6
@@
class InstanceIpToNodePrimaryIpQuery(ConfdQuery):
instances_list = query[constants.CONFD_REQQ_IPLIST]
mode = constants.CONFD_REQQ_IPLIST
else:
instances_list = query[constants.CONFD_REQQ_IPLIST]
mode = constants.CONFD_REQQ_IPLIST
else:
- status = constants.CONFD_REPL_STATUS_ERROR
logging.debug("missing IP or IPLIST in query dict")
return QUERY_ARGUMENT_ERROR
logging.debug("missing IP or IPLIST in query dict")
return QUERY_ARGUMENT_ERROR