From 925b3af46b20461154aece5c8b3f08ac878e57c7 Mon Sep 17 00:00:00 2001 From: Vasiliy Tolstov Date: Fri, 29 Jan 2021 15:06:47 +0300 Subject: [PATCH] register: fix options Signed-off-by: Vasiliy Tolstov --- register/options.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/register/options.go b/register/options.go index 806db90c..33f49a00 100644 --- a/register/options.go +++ b/register/options.go @@ -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 }