switch all other services to struct tag based env config
This commit is contained in:
@@ -1,11 +1,6 @@
|
||||
//go:build !simple
|
||||
// +build !simple
|
||||
|
||||
package command
|
||||
|
||||
import (
|
||||
"github.com/owncloud/ocis/ocis-pkg/shared"
|
||||
|
||||
"github.com/owncloud/ocis/ocis-pkg/config"
|
||||
"github.com/owncloud/ocis/ocis/pkg/register"
|
||||
"github.com/owncloud/ocis/ocis/pkg/runtime"
|
||||
@@ -23,9 +18,9 @@ func Server(cfg *config.Config) *cli.Command {
|
||||
},
|
||||
Action: func(c *cli.Context) error {
|
||||
|
||||
cfg.Commons = &shared.Commons{
|
||||
Log: &cfg.Log,
|
||||
}
|
||||
//cfg.Commons = &shared.Commons{
|
||||
// Log: &cfg.Log,
|
||||
//}
|
||||
|
||||
r := runtime.New(cfg)
|
||||
return r.Start()
|
||||
|
||||
Reference in New Issue
Block a user