Merge pull request 'fix balancer build error' (#9) from test-deploy into main
Deploy / deploy (push) Failing after 7s
Details
Deploy / deploy (push) Failing after 7s
Details
Reviewed-on: https://72.56.235.246.nip.io/gitea/romanskijdev/ruspet_portal_back/pulls/9
This commit is contained in:
commit
9034eed116
|
|
@ -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