Batfish: pre-parse configurations for reference snapshot too
@@ -614,7 +614,9 @@ public class Batfish extends PluginConsumer implements IBatfish {
// Ensures configurations are parsed and ready
loadConfigurations(getSnapshot());
- // TODO: why doesn't this check diff and load diff configurations?
+ if (diff) {
+ loadConfigurations(getReferenceSnapshot());
+ }
Span initQuestionSpan = GlobalTracer.get().buildSpan("Init question env").start();
try (Scope scope = GlobalTracer.get().scopeManager().activate(span)) {
