updated dependencies

This commit is contained in:
ston1th 2021-03-07 12:53:58 +01:00
commit de35d43aa7
4 changed files with 68 additions and 27 deletions

View file

@ -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 {