mirror of
https://github.com/opencloud-eu/opencloud.git
synced 2026-01-26 06:28:35 -06:00
remove commented out code
This commit is contained in:
@@ -14,9 +14,6 @@ func Health(cfg *config.Config) *cli.Command {
|
||||
Name: "health",
|
||||
Usage: "check health status",
|
||||
Category: "info",
|
||||
// Before: func(c *cli.Context) error {
|
||||
// return ParseConfig(c, cfg, "storage")
|
||||
// },
|
||||
Action: func(c *cli.Context) error {
|
||||
logger := NewLogger(cfg)
|
||||
|
||||
|
||||
@@ -12,19 +12,6 @@ import (
|
||||
// GetCommands provides all commands for this service
|
||||
func GetCommands(cfg *config.Config) cli.Commands {
|
||||
return []*cli.Command{
|
||||
// Frontend(cfg),
|
||||
// Gateway(cfg),
|
||||
// Users(cfg),
|
||||
// Groups(cfg),
|
||||
// AppProvider(cfg),
|
||||
// AuthBasic(cfg),
|
||||
// AuthBearer(cfg),
|
||||
// AuthMachine(cfg),
|
||||
// Sharing(cfg),
|
||||
// StoragePublicLink(cfg),
|
||||
// StorageShares(cfg),
|
||||
// StorageUsers(cfg),
|
||||
// StorageMetadata(cfg),
|
||||
Health(cfg),
|
||||
}
|
||||
}
|
||||
@@ -35,10 +22,6 @@ func Execute(cfg *config.Config) error {
|
||||
Name: "storage",
|
||||
Usage: "Storage service for oCIS",
|
||||
|
||||
// Before: func(c *cli.Context) error {
|
||||
// return ParseConfig(c, cfg, "storage")
|
||||
// },
|
||||
|
||||
Commands: GetCommands(cfg),
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user