mirror of
https://github.com/opencloud-eu/opencloud.git
synced 2026-01-04 11:19:39 -06:00
There is nothing that would activate ocis-hello as an external app, so this can be just removed. Also it blocks the new default apps in ocis-phoenix.
25 lines
638 B
Go
25 lines
638 B
Go
// +build !simple
|
|
|
|
package command
|
|
|
|
import (
|
|
svcconfig "github.com/owncloud/ocis-phoenix/pkg/config"
|
|
"github.com/owncloud/ocis/pkg/config"
|
|
)
|
|
|
|
func configurePhoenix(cfg *config.Config) *svcconfig.Config {
|
|
cfg.Phoenix.Log.Level = cfg.Log.Level
|
|
cfg.Phoenix.Log.Pretty = cfg.Log.Pretty
|
|
cfg.Phoenix.Log.Color = cfg.Log.Color
|
|
|
|
if cfg.Tracing.Enabled {
|
|
cfg.Phoenix.Tracing.Enabled = cfg.Tracing.Enabled
|
|
cfg.Phoenix.Tracing.Type = cfg.Tracing.Type
|
|
cfg.Phoenix.Tracing.Endpoint = cfg.Tracing.Endpoint
|
|
cfg.Phoenix.Tracing.Collector = cfg.Tracing.Collector
|
|
cfg.Phoenix.Tracing.Service = cfg.Tracing.Service
|
|
}
|
|
|
|
return cfg.Phoenix
|
|
}
|