Skip to content
Snippets Groups Projects

Develop

Merged Ghost User requested to merge develop into master
2 files
+ 10
3
Compare changes
  • Side-by-side
  • Inline
Files
2
+ 3
2
@@ -19,7 +19,8 @@ type controllerConfig struct {
}
type Core struct {
clients []interfaces.Client
//Assert type with clients[key].(*MCPClient)
clients map[string]interfaces.Client
database database.Database
config controllerConfig
}
@@ -47,7 +48,7 @@ func (c *Core) Init(socket, configfile string) {
c.AttachDatabase()
//TODO: Create client config/CLI adapter
c.clients = append(c.clients, ciena.NewMCPClient( "141.100.70.170", "", "", &c.database))
c.clients["ciena-mcp"] = ciena.NewMCPClient( "141.100.70.170", "", "", &c.database)
}
func (c *Core) AttachDatabase() {
Loading