From 42034052f59489d7d7beb035d60a4db19656706a Mon Sep 17 00:00:00 2001 From: "A.Unger" Date: Thu, 9 Jan 2020 14:34:37 +0100 Subject: [PATCH] self register health --- pkg/command/health.go | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pkg/command/health.go b/pkg/command/health.go index 7b4947490..035efb0bc 100644 --- a/pkg/command/health.go +++ b/pkg/command/health.go @@ -7,6 +7,7 @@ import ( "github.com/micro/cli" "github.com/owncloud/ocis/pkg/config" "github.com/owncloud/ocis/pkg/flagset" + "github.com/owncloud/ocis/pkg/register" ) // Health is the entrypoint for the health command. @@ -47,3 +48,7 @@ func Health(cfg *config.Config) cli.Command { }, } } + +func init() { + register.AddCommand(Health) +}