From d33365195b1787b39f65a6f9086bf6768237aa99 Mon Sep 17 00:00:00 2001 From: Jarrod Johnson Date: Fri, 27 Mar 2020 12:14:41 -0400 Subject: [PATCH] Have nodediscover list filter by -n It is a reasonable expectation and useful feature to provide. --- confluent_client/bin/nodediscover | 2 ++ 1 file changed, 2 insertions(+) diff --git a/confluent_client/bin/nodediscover b/confluent_client/bin/nodediscover index 29982411..9a2ff207 100755 --- a/confluent_client/bin/nodediscover +++ b/confluent_client/bin/nodediscover @@ -241,6 +241,8 @@ def list_matching_macs(options, session, node=None): path = '/discovery/' if node: path += 'by-node/{0}/'.format(node) + elif options.node: + path += 'by-node/{0}/'.format(options.node) if options.model: path += 'by-model/{0}/'.format(options.model) if options.serial: