Changes to add the read only cores and some fixes to bugs
for processing the config file.
Change-Id: I1393c05d4cbce215e97d1f17b13e044eda7ae472
diff --git a/afrouter/afrouter/helpers.go b/afrouter/afrouter/helpers.go
index 6235337..4d7362b 100644
--- a/afrouter/afrouter/helpers.go
+++ b/afrouter/afrouter/helpers.go
@@ -17,9 +17,11 @@
package afrouter
+//import "github.com/opencord/voltha-go/common/log"
+
func strIndex(ar []string, match string) int {
- for idx := range ar {
- if ar[idx] == match {
+ for idx,v := range ar {
+ if v == match {
return idx
}
}