Commit 58aa30d7 authored by Michael Hanselmann's avatar Michael Hanselmann
Browse files

confd.querylib: Remove long-deprecated query mode



This was never used by a stable version.
Signed-off-by: default avatarMichael Hanselmann <hansmi@google.com>
Reviewed-by: default avatarIustin Pop <iustin@google.com>
parent ce4cd929
......@@ -194,11 +194,6 @@ class InstanceIpToNodePrimaryIpQuery(ConfdQuery):
network_link = query[constants.CONFD_REQQ_LINK]
else:
network_link = None # default will be used
elif isinstance(query, basestring):
# 2.1 beta1 and beta2 mode, to be deprecated for 2.2
instances_list = [query]
network_link = None
mode = constants.CONFD_REQQ_IP
else:
logging.debug("Invalid query argument type for: %s", query)
return QUERY_ARGUMENT_ERROR
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment