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: