This fixes the bug created by myself yesterday (sorry!) related to #214. The cluster key should be removed in each group, so it must be done inside the main loop, and not outside. With the current code having 2 internal groups will have the cluster only removed in the last group, but not the others:
Coverage remained the same at 78.3% when pulling bde0c4eddfe104c2486c87c9ae25d83fff27fa38 on ckishimo:devel-rr into ab33fbc685ab89750abf541ffd89575fd6b5b3ff on napalm-automation:develop.
This fixes the bug created by myself yesterday (sorry!) related to #214. The
cluster
key should be removed in each group, so it must be done inside the main loop, and not outside. With the current code having 2 internal groups will have thecluster
only removed in the last group, but not the others: