[VOL-5054] - Triage build for voltha-openolt-adapter
VERSION
cmd/openolt-adapter/main.go
cmd/openolt-adapter/main_test.go
internal/pkg/olterrors/common.go
--------------------------------
o Cosmetic edits to force a build.
o Run gofmt -s -w to correct a few syntax problems that failed the job earlier.
Change-Id: I3b525489be01b4e968d163b8835534d683bf1722
diff --git a/cmd/openolt-adapter/main.go b/cmd/openolt-adapter/main.go
index 336d36c..a01976a 100644
--- a/cmd/openolt-adapter/main.go
+++ b/cmd/openolt-adapter/main.go
@@ -14,7 +14,7 @@
* limitations under the License.
*/
-//Package main invokes the application
+// Package main invokes the application
package main
import (
@@ -194,7 +194,8 @@
return core_service.NewCoreServiceClient(conn)
}
-/**
+/*
+*
This function checks the liveliness and readiness of the kakfa and kv-client services
and update the status in the probe.
*/
@@ -206,7 +207,8 @@
go a.checkKvStoreReadiness(ctx)
}
-/**
+/*
+*
This function checks the liveliness and readiness of the kv-store service
and update the status in the probe.
*/
@@ -560,3 +562,5 @@
elapsed := time.Since(start)
logger.Infow(ctx, "run-time", log.Fields{"instanceId": ad.config.InstanceID, "time": elapsed / time.Second})
}
+
+// [EOF]