From e5115c3919888ced3d1f44b719c1d197004dee21 Mon Sep 17 00:00:00 2001 From: Michael Crosby Date: Tue, 21 Aug 2018 15:38:51 -0400 Subject: [PATCH] Export content service New Closes #2441 Signed-off-by: Michael Crosby --- services/content/service.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/services/content/service.go b/services/content/service.go index 42926890e..a27e8ee98 100644 --- a/services/content/service.go +++ b/services/content/service.go @@ -70,13 +70,13 @@ func init() { if err != nil { return nil, err } - return newService(cs.(content.Store)), nil + return NewService(cs.(content.Store)), nil }, }) } -// newService returns the content GRPC server -func newService(cs content.Store) api.ContentServer { +// NewService returns the content GRPC server +func NewService(cs content.Store) api.ContentServer { return &service{store: cs} }