mirror of
https://github.com/opencloud-eu/opencloud.git
synced 2026-07-29 00:38:46 -04:00
inject root and server flags to constructor
This commit is contained in:
@@ -137,6 +137,8 @@ func Server(cfg *config.Config) cli.Command {
|
||||
http.Context(ctx),
|
||||
http.Config(cfg),
|
||||
http.Metrics(metrics),
|
||||
http.Flags(flagset.RootWithConfig(cfg)),
|
||||
http.Flags(flagset.ServerWithConfig(cfg)),
|
||||
)
|
||||
|
||||
if err != nil {
|
||||
|
||||
Reference in New Issue
Block a user