strip some cruft from config/cmd

This commit is contained in:
Asim Aslam 2019-12-10 18:12:29 +00:00
parent e966944ae5
commit ff69d46c98

View File

@ -194,7 +194,6 @@ var (
} }
DefaultBrokers = map[string]func(...broker.Option) broker.Broker{ DefaultBrokers = map[string]func(...broker.Option) broker.Broker{
"go.micro.broker": brokerSrv.NewBroker,
"service": brokerSrv.NewBroker, "service": brokerSrv.NewBroker,
"http": http.NewBroker, "http": http.NewBroker,
"memory": memory.NewBroker, "memory": memory.NewBroker,
@ -208,7 +207,6 @@ var (
} }
DefaultRegistries = map[string]func(...registry.Option) registry.Registry{ DefaultRegistries = map[string]func(...registry.Option) registry.Registry{
"go.micro.registry": regSrv.NewRegistry,
"service": regSrv.NewRegistry, "service": regSrv.NewRegistry,
"etcd": etcd.NewRegistry, "etcd": etcd.NewRegistry,
"mdns": mdns.NewRegistry, "mdns": mdns.NewRegistry,