mirror of
https://github.com/opencloud-eu/opencloud.git
synced 2026-06-21 06:19:09 -04:00
save allocation
This commit is contained in:
@@ -35,7 +35,10 @@ func Execute() error {
|
||||
return ParseConfig(c, cfg)
|
||||
},
|
||||
|
||||
Commands: GetCommands(cfg),
|
||||
Commands: []*cli.Command{
|
||||
Server(cfg),
|
||||
Health(cfg),
|
||||
},
|
||||
}
|
||||
|
||||
cli.HelpFlag = &cli.BoolFlag{
|
||||
@@ -51,14 +54,6 @@ func Execute() error {
|
||||
return app.Run(os.Args)
|
||||
}
|
||||
|
||||
// GetCommands undocummented
|
||||
func GetCommands(cfg *config.Config) []*cli.Command {
|
||||
return []*cli.Command{
|
||||
Server(cfg),
|
||||
Health(cfg),
|
||||
}
|
||||
}
|
||||
|
||||
// NewLogger initializes a service-specific logger instance.
|
||||
func NewLogger(cfg *config.Config) log.Logger {
|
||||
return log.NewLogger(
|
||||
|
||||
Reference in New Issue
Block a user