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 }