remove commented out code

This commit is contained in:
David Christofas
2022-04-26 13:52:40 +02:00
parent 4ae93e6efb
commit e2ea74c9bc
7 changed files with 1 additions and 29 deletions

View File

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

View File

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