mirror of
https://github.com/opencloud-eu/opencloud.git
synced 2026-04-24 04:58:31 -05:00
split **/pkg/config/config.go up to multiple files
This commit is contained in:
committed by
Jörn Friedrich Dreyer
parent
6990e7d660
commit
a13df3dcf7
@@ -18,9 +18,9 @@ func GLAuthCommand(cfg *config.Config) *cli.Command {
|
||||
return err
|
||||
}
|
||||
|
||||
if cfg.Commons != nil {
|
||||
cfg.GLAuth.Commons = cfg.Commons
|
||||
}
|
||||
//if cfg.Commons != nil {
|
||||
// cfg.GLAuth.Commons = cfg.Commons
|
||||
//}
|
||||
|
||||
return nil
|
||||
},
|
||||
|
||||
@@ -18,9 +18,9 @@ func GraphCommand(cfg *config.Config) *cli.Command {
|
||||
return err
|
||||
}
|
||||
|
||||
if cfg.Commons != nil {
|
||||
cfg.Graph.Commons = cfg.Commons
|
||||
}
|
||||
//if cfg.Commons != nil {
|
||||
// cfg.Graph.Commons = cfg.Commons
|
||||
//}
|
||||
|
||||
return nil
|
||||
},
|
||||
|
||||
@@ -18,9 +18,9 @@ func GraphExplorerCommand(cfg *config.Config) *cli.Command {
|
||||
return err
|
||||
}
|
||||
|
||||
if cfg.Commons != nil {
|
||||
cfg.Graph.Commons = cfg.Commons
|
||||
}
|
||||
//if cfg.Commons != nil {
|
||||
// cfg.Graph.Commons = cfg.Commons
|
||||
//}
|
||||
|
||||
return nil
|
||||
},
|
||||
|
||||
@@ -21,9 +21,9 @@ func IDPCommand(cfg *config.Config) *cli.Command {
|
||||
return err
|
||||
}
|
||||
|
||||
if cfg.Commons != nil {
|
||||
cfg.IDP.Commons = cfg.Commons
|
||||
}
|
||||
//if cfg.Commons != nil {
|
||||
// cfg.IDP.Commons = cfg.Commons
|
||||
//}
|
||||
|
||||
return nil
|
||||
},
|
||||
|
||||
@@ -18,9 +18,9 @@ func OCSCommand(cfg *config.Config) *cli.Command {
|
||||
return err
|
||||
}
|
||||
|
||||
if cfg.Commons != nil {
|
||||
cfg.OCS.Commons = cfg.Commons
|
||||
}
|
||||
//if cfg.Commons != nil {
|
||||
// cfg.OCS.Commons = cfg.Commons
|
||||
//}
|
||||
|
||||
return nil
|
||||
},
|
||||
|
||||
@@ -21,9 +21,9 @@ func ProxyCommand(cfg *config.Config) *cli.Command {
|
||||
return err
|
||||
}
|
||||
|
||||
if cfg.Commons != nil {
|
||||
cfg.Proxy.Commons = cfg.Commons
|
||||
}
|
||||
//if cfg.Commons != nil {
|
||||
// cfg.Proxy.Commons = cfg.Commons
|
||||
//}
|
||||
|
||||
return nil
|
||||
},
|
||||
|
||||
@@ -21,9 +21,9 @@ func SettingsCommand(cfg *config.Config) *cli.Command {
|
||||
return err
|
||||
}
|
||||
|
||||
if cfg.Commons != nil {
|
||||
cfg.Settings.Commons = cfg.Commons
|
||||
}
|
||||
//if cfg.Commons != nil {
|
||||
// cfg.Settings.Commons = cfg.Commons
|
||||
//}
|
||||
|
||||
return nil
|
||||
},
|
||||
|
||||
@@ -22,9 +22,9 @@ func WebDAVCommand(cfg *config.Config) *cli.Command {
|
||||
return err
|
||||
}
|
||||
|
||||
if cfg.Commons != nil {
|
||||
cfg.WebDAV.Commons = cfg.Commons
|
||||
}
|
||||
//if cfg.Commons != nil {
|
||||
// cfg.WebDAV.Commons = cfg.Commons
|
||||
//}
|
||||
|
||||
return nil
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user