added netbox allocator
This commit is contained in:
parent
fef86deac8
commit
cef74df3e8
10 changed files with 195 additions and 53 deletions
|
|
@ -59,7 +59,7 @@ func main() {
|
|||
log.Info("creating cluster", "mode", "etcd")
|
||||
c = etcd.NewCluster(logfmtr.New().WithName("etcd"))
|
||||
}
|
||||
log.Info("starting api server", "address", cfg.Server.Listen, "tls", cfg.Server.TLS != nil)
|
||||
log.Info("starting api server", "address", cfg.APIServer.Listen, "tls", cfg.APIServer.TLS != nil)
|
||||
srv, err := api.NewServer(cfg, logfmtr.New().WithName("api"))
|
||||
if err != nil {
|
||||
fatal(err, "init failed")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue