Skip to content
Snippets Groups Projects

Resolve "Data Race HTTP API"

Merged Ghost User requested to merge 87-data-race-http-api into develop
2 files
+ 3
22
Compare changes
  • Side-by-side
  • Inline
Files
2
+ 1
12
@@ -47,19 +47,8 @@ func initialize() error {
@@ -47,19 +47,8 @@ func initialize() error {
}
}
// TODO: Start grpc listener here
// TODO: Start grpc listener here
if err := httpAPI(); err != nil {
return err
}
attachDatabase()
return nil
}
// deprecated
return httpAPI()
// attachDatabase connects to the database and passes the connection to the controller core
func attachDatabase() {
c.database = database.NewDatabaseClient()
}
}
// createSouthboundInterfaces initializes the controller with its supported SBIs
// createSouthboundInterfaces initializes the controller with its supported SBIs
Loading