From 3cefc39aff55ecdda691ec38acf2987433dfa3f1 Mon Sep 17 00:00:00 2001 From: Jelmer Snoeck Date: Thu, 7 Jan 2016 10:15:30 +0000 Subject: [PATCH] Debug: use the DebugHandler interface. Without specifying the interface, DefaultDebugHandler has to be of type *"github.com/micro/go-micro/server/debug".debug. --- server/debug/debug.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/debug/debug.go b/server/debug/debug.go index ba12bc4b..accd0bc4 100644 --- a/server/debug/debug.go +++ b/server/debug/debug.go @@ -18,7 +18,7 @@ type DebugHandler interface { type debug struct{} var ( - DefaultDebugHandler = new(debug) + DefaultDebugHandler DebugHandler = new(debug) ) func (d *debug) Health(ctx context.Context, req *proto.HealthRequest, rsp *proto.HealthResponse) error {