mirror of
https://github.com/opencloud-eu/opencloud.git
synced 2026-01-04 11:19:39 -06:00
self register health
This commit is contained in:
@@ -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)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user