(apiClient *api.Client, host string, variables []Variable)
| 67 | } |
| 68 | |
| 69 | func PopulateMultipleSelectedRepositoryInformation(apiClient *api.Client, host string, variables []Variable) error { |
| 70 | for i, variable := range variables { |
| 71 | if err := PopulateSelectedRepositoryInformation(apiClient, host, &variable); err != nil { |
| 72 | return err |
| 73 | } |
| 74 | variables[i] = variable |
| 75 | } |
| 76 | return nil |
| 77 | } |
| 78 | |
| 79 | func PopulateSelectedRepositoryInformation(apiClient *api.Client, host string, variable *Variable) error { |
| 80 | if variable.SelectedReposURL == "" { |
no test coverage detected