bugfix for handling match=strict in eos_config

Resolves an issue where match=strict would act like match=exact when
evaluating the configuration
reviewable/pr18780/r1
Peter Sprygada 9 years ago
parent e9ab4d688d
commit 11056c8ed2

@ -165,9 +165,6 @@ def build_candidate(lines, parents, config, strategy):
candidate = list()
if strategy == 'strict':
if len(lines) != len(config):
candidate = list(lines)
else:
for index, cmd in enumerate(lines):
try:
if cmd != config[index]:

Loading…
Cancel
Save