func (b *FusisBalancer) AddDestination(svc *types.Service, dst *types.Destination) error { // Set defaults if dst.Weight == 0 { dst.Weight = 1 } if dst.Mode == "" { dst.Mode = "nat" } //TODO: Configurate destination // if err := b.setupDestination(svc, dst); err != nil { // return errors.Wrap(err, "setup destination failed") // } return b.store.AddDestination(svc, dst) }