From 43fa6998f67254a848d7dfecddfb7ed9b8fec947 Mon Sep 17 00:00:00 2001 From: Ben Toogood Date: Tue, 14 Apr 2020 12:32:59 +0100 Subject: [PATCH] Add context options to the runtime --- cache.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cache.go b/cache.go index 7714f98..2799f2d 100644 --- a/cache.go +++ b/cache.go @@ -419,7 +419,7 @@ func (c *cache) watch(w registry.Watcher) error { } } -func (c *cache) GetService(service string) ([]*registry.Service, error) { +func (c *cache) GetService(service string, opts ...registry.GetOption) ([]*registry.Service, error) { // get the service services, err := c.get(service) if err != nil {