Jonathan Hart

Minor refactoring

Change-Id: I57198890b5fd833ba0f3368197d074a5fdc1d3e1
...@@ -77,9 +77,13 @@ public class PeerConnectivityManager { ...@@ -77,9 +77,13 @@ public class PeerConnectivityManager {
77 public void start() { 77 public void start() {
78 if (interfaceService.getInterfaces().isEmpty()) { 78 if (interfaceService.getInterfaces().isEmpty()) {
79 log.warn("No interfaces found in configuration file"); 79 log.warn("No interfaces found in configuration file");
80 - } else if (configService.getBgpPeers().isEmpty()) { 80 + }
81 +
82 + if (configService.getBgpPeers().isEmpty()) {
81 log.warn("No BGP peers found in configuration file"); 83 log.warn("No BGP peers found in configuration file");
82 - } else if (configService.getBgpSpeakers().isEmpty()) { 84 + }
85 +
86 + if (configService.getBgpSpeakers().isEmpty()) {
83 log.error("No BGP speakers found in configuration file"); 87 log.error("No BGP speakers found in configuration file");
84 } 88 }
85 89
......