From 588ac4a2a6ec64abef4e1de9a5ee90572d4bc098 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rn=20Friedrich=20Dreyer?= Date: Wed, 17 Feb 2021 16:22:20 +0000 Subject: [PATCH] get rid of http server option.Hander MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Jörn Friedrich Dreyer --- ocis-pkg/service/http/option.go | 7 ------- 1 file changed, 7 deletions(-) diff --git a/ocis-pkg/service/http/option.go b/ocis-pkg/service/http/option.go index e61c46490..a88062389 100644 --- a/ocis-pkg/service/http/option.go +++ b/ocis-pkg/service/http/option.go @@ -93,10 +93,3 @@ func TLSConfig(config *tls.Config) Option { o.TLSConfig = config } } - -// Handler sets the http handler for the service -func Handler(h http.Handler) Option { - return func(o *Options) { - o.Handler = h - } -}