register: fix options
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
This commit is contained in:
parent
ef4efa6a6b
commit
925b3af46b
@ -246,13 +246,13 @@ func DeregisterDomain(d string) DeregisterOption {
|
||||
}
|
||||
}
|
||||
|
||||
func GetContext(ctx context.Context) LookupOption {
|
||||
func LookupContext(ctx context.Context) LookupOption {
|
||||
return func(o *LookupOptions) {
|
||||
o.Context = ctx
|
||||
}
|
||||
}
|
||||
|
||||
func GetDomain(d string) LookupOption {
|
||||
func LookupDomain(d string) LookupOption {
|
||||
return func(o *LookupOptions) {
|
||||
o.Domain = d
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user