diff --git a/options.go b/options.go index 20e701e6..ae8e2ca6 100644 --- a/options.go +++ b/options.go @@ -36,7 +36,6 @@ type Options struct { Context context.Context Cache cache.Cache - Runtime runtime.Runtime Profile profile.Profile Transport transport.Transport Logger logger.Logger @@ -62,7 +61,6 @@ func newOptions(opts ...Option) Options { Server: server.DefaultServer, Store: store.DefaultStore, Registry: registry.DefaultRegistry, - Runtime: runtime.DefaultRuntime, Transport: transport.DefaultTransport, Context: context.Background(), Signal: true, @@ -204,13 +202,6 @@ func Transport(t transport.Transport) Option { } } -// Runtime sets the runtime. -func Runtime(r runtime.Runtime) Option { - return func(o *Options) { - o.Runtime = r - } -} - // Convenience options // Address sets the address of the server.