Formatted code with 'go fmt'
Change-Id: I5361f3388a1fb8da1ef3222d51bc58355a804137
diff --git a/main.go b/main.go
index e4f22fa..9c0bd8c 100644
--- a/main.go
+++ b/main.go
@@ -21,11 +21,11 @@
"fmt"
"github.com/opencord/voltha-go/adapters"
com "github.com/opencord/voltha-go/adapters/common"
- ac "github.com/opencord/voltha-openolt-adapter/adaptercore"
- "github.com/opencord/voltha-openolt-adapter/config"
"github.com/opencord/voltha-go/common/log"
"github.com/opencord/voltha-go/db/kvstore"
"github.com/opencord/voltha-go/kafka"
+ ac "github.com/opencord/voltha-openolt-adapter/adaptercore"
+ "github.com/opencord/voltha-openolt-adapter/config"
ic "github.com/opencord/voltha-protos/go/inter_container"
"github.com/opencord/voltha-protos/go/voltha"
"os"
@@ -236,12 +236,12 @@
func (a *adapter) registerWithCore(retries int) error {
log.Info("registering-with-core")
- adapterDescription := &voltha.Adapter{Id: "openolt", // Unique name for the device type
- Vendor: "simulation Enterprise Inc"}
- types := []*voltha.DeviceType{{Id: "openolt",
- Adapter: "openolt",//Name of the adapter that handles device type
- AcceptsBulkFlowUpdate: false, // Currently openolt adapter does not support bulk flow handling
- AcceptsAddRemoveFlowUpdates: true}}
+ adapterDescription := &voltha.Adapter{Id: "openolt", // Unique name for the device type
+ Vendor: "simulation Enterprise Inc"}
+ types := []*voltha.DeviceType{{Id: "openolt",
+ Adapter: "openolt", //Name of the adapter that handles device type
+ AcceptsBulkFlowUpdate: false, // Currently openolt adapter does not support bulk flow handling
+ AcceptsAddRemoveFlowUpdates: true}}
deviceTypes := &voltha.DeviceTypes{Items: types}
count := 0
for {