self register health

This commit is contained in:
A.Unger
2020-01-09 14:34:37 +01:00
parent d872c3ddb2
commit 42034052f5

View File

@@ -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)
}