broker: drop unused registryKey variable
This commit is contained in:
parent
ae08e9c106
commit
add78f2967
@ -46,10 +46,6 @@ type PublishOption func(*PublishOptions)
|
|||||||
|
|
||||||
type SubscribeOption func(*SubscribeOptions)
|
type SubscribeOption func(*SubscribeOptions)
|
||||||
|
|
||||||
var (
|
|
||||||
registryKey = "github.com/micro/go-micro/registry"
|
|
||||||
)
|
|
||||||
|
|
||||||
func NewSubscribeOptions(opts ...SubscribeOption) SubscribeOptions {
|
func NewSubscribeOptions(opts ...SubscribeOption) SubscribeOptions {
|
||||||
opt := SubscribeOptions{
|
opt := SubscribeOptions{
|
||||||
AutoAck: true,
|
AutoAck: true,
|
||||||
|
Loading…
Reference in New Issue
Block a user