updated dependencies
This commit is contained in:
parent
fc1912bfa9
commit
de35d43aa7
4 changed files with 68 additions and 27 deletions
|
|
@ -42,7 +42,10 @@ func main() {
|
|||
log.Info("creating cluster", "mode", "etcd")
|
||||
c = etcd.NewCluster(klogr.New().WithName("etcd"))
|
||||
}
|
||||
srv := api.NewServer(cfg, log.WithName("api"))
|
||||
srv, err := api.NewServer(cfg, log.WithName("api"))
|
||||
if err != nil {
|
||||
klog.Fatalf("init failed: %s", err)
|
||||
}
|
||||
|
||||
callbacks, err := controller.NewLBController(cfg, srv, log.WithName("vip-controller"))
|
||||
if err != nil {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue