mirror of
https://github.com/opencloud-eu/opencloud.git
synced 2026-02-21 13:09:10 -06:00
remove redundant transport
This commit is contained in:
committed by
Jörn Friedrich Dreyer
parent
448bdde79c
commit
b89deea796
@@ -29,7 +29,6 @@ func NewService(opts ...Option) Service {
|
||||
|
||||
wopts := []micro.Option{
|
||||
micro.Server(http.NewServer(server.TLSConfig(sopts.TLSConfig))),
|
||||
micro.Transport(getTransport(sopts.TLSConfig)),
|
||||
micro.Registry(*registry.GetRegistry()),
|
||||
micro.Address(sopts.Address),
|
||||
micro.RegisterTTL(time.Second * 30),
|
||||
|
||||
Reference in New Issue
Block a user