VOL-1855: Support for techprofile
Also now use voltha-protos repo similar to other 2.x builds
Also a go fmt
Tested with:
voltha-go TP patch: https://gerrit.opencord.org/#/c/14767/
openolt TP patch: https://gerrit.opencord.org/#/c/14771/
Change-Id: I327573af6cd7f54cdfcb9fb4bdbdc24d960f96be
diff --git a/core/eapol.go b/core/eapol.go
index c4dfe54..f14256d 100644
--- a/core/eapol.go
+++ b/core/eapol.go
@@ -42,7 +42,7 @@
EAP_SUCCESS
)
-func (eap clientState) String() string {
+func (eap clientState) String() string {
return [...]string{"EAP_START", "EAP_RESPID", "EAP_RESPCHA", "EAP_SUCCESS"}[eap]
}
@@ -152,10 +152,10 @@
return errors.New("Failed to send EAPStart")
}
logger.WithFields(log.Fields{
- "int_id": intfid,
- "onu_id": onuid,
+ "int_id": intfid,
+ "onu_id": onuid,
"eapolIn": eapolIn,
- "bytes": bytes,
+ "bytes": bytes,
}).Debug("EAPStart Sent")
time.Sleep(30 * time.Second)
}