()
| 362 | } |
| 363 | |
| 364 | func (repo CloudControllerUserRepository) getAuthEndpoint() (string, error) { |
| 365 | uaaEndpoint := repo.config.UaaEndpoint() |
| 366 | if uaaEndpoint == "" { |
| 367 | return "", errors.New(T("UAA endpoint missing from config file")) |
| 368 | } |
| 369 | return uaaEndpoint, nil |
| 370 | } |
| 371 | |
| 372 | func rolePath(role models.Role) (string, error) { |
| 373 | path, found := orgRoleToPathMap[role] |
no test coverage detected