mirror of
https://github.com/opencloud-eu/opencloud.git
synced 2026-10-22 14:24:48 -04:00
rename default services
This commit is contained in:
4 files changed
+52
-54
No files matched your search
+3
-6
@@ -76,6 +76,7 @@ func Execute() error {
|
||||
},
|
||||
}
|
||||
|
||||
// Load commands from the registry
|
||||
for _, fn := range register.Commands {
|
||||
app.Commands = append(
|
||||
app.Commands,
|
||||
@@ -83,11 +84,7 @@ func Execute() error {
|
||||
)
|
||||
}
|
||||
|
||||
runtime.AddRuntime(app)
|
||||
app.Commands = append(
|
||||
app.Commands,
|
||||
runtime.Command(app),
|
||||
)
|
||||
runtime.AddMicroPlatform(app)
|
||||
|
||||
cli.HelpFlag = &cli.BoolFlag{
|
||||
Name: "help,h",
|
||||
@@ -102,7 +99,7 @@ func Execute() error {
|
||||
return app.Run(os.Args)
|
||||
}
|
||||
|
||||
// NewLogger initializes a service-specific logger instance.
|
||||
// NewLogger initializes a service-specific logger instance
|
||||
func NewLogger(cfg *config.Config) log.Logger {
|
||||
return log.NewLogger(
|
||||
log.Name("ocis"),
|
||||
|
||||
Reference in new issue
Block a user