(appGUID string)
| 161 | } |
| 162 | |
| 163 | func (repo CloudControllerAppSummaryRepository) GetSummary(appGUID string) (summary models.Application, apiErr error) { |
| 164 | path := fmt.Sprintf("%s/v2/apps/%s/summary", repo.config.APIEndpoint(), appGUID) |
| 165 | summaryResponse := new(ApplicationFromSummary) |
| 166 | apiErr = repo.gateway.GetResource(path, summaryResponse) |
| 167 | if apiErr != nil { |
| 168 | return |
| 169 | } |
| 170 | |
| 171 | summary = summaryResponse.ToModel() |
| 172 | |
| 173 | return |
| 174 | } |
nothing calls this directly
no test coverage detected