fix balancer build error #9
|
|
@ -55,15 +55,21 @@ func main() {
|
|||
|
||||
func getClientsExternal() (*configcore.Config, clientcontrollers.ClientsExternal, error) {
|
||||
options := &configcore.ConfigLoadOptions{
|
||||
Redis: true,
|
||||
Bitrix: true,
|
||||
Secrets: true,
|
||||
Redis: true,
|
||||
Bitrix: true,
|
||||
Secrets: configcore.SecretsOptions{
|
||||
UserAccessCode: true,
|
||||
},
|
||||
Server: configcore.ExposedServiceOptions{
|
||||
RESTBaseService: true,
|
||||
},
|
||||
}
|
||||
|
||||
return clientcontrollers.ReturnClientsExternal(options)
|
||||
controller, err := clientcontrollers.ReturnClientsExternal(options)
|
||||
if err != nil {
|
||||
return nil, clientcontrollers.ClientsExternal{}, err
|
||||
}
|
||||
return controller.Config, controller, nil
|
||||
}
|
||||
|
||||
func initInternalProvider(cfg *configcore.Config, clientsExternal clientcontrollers.ClientsExternal) (*types.InternalProviderControl, error) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue